wininet: Rename HTTP_Base64 to HTTP_EncodeBase64 to more accurately reflect what it does.

Robert Shearman rob at codeweavers.com
Sun Jan 7 06:53:38 CST 2007


---
  dlls/wininet/http.c |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index b1ab187..920cf50 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -846,9 +846,9 @@ end:
 }
 
 /***********************************************************************
- *  HTTP_Base64
+ *  HTTP_DecodeBase64
  */
-static UINT HTTP_Base64( LPCWSTR bin, LPWSTR base64 )
+static UINT HTTP_EncodeBase64( LPCWSTR bin, LPWSTR base64 )
 {
     UINT n = 0, x;
     static LPCSTR HTTP_Base64Enc = 
@@ -914,7 +914,7 @@ static LPWSTR HTTP_EncodeBasicAuth( LPCW
         lstrcatW( in, szColon );
         lstrcatW( in, password );
         lstrcpyW( out, szBasic );
-        HTTP_Base64( in, &out[strlenW(out)] );
+        HTTP_EncodeBase64( in, &out[strlenW(out)] );
     }
     HeapFree( GetProcessHeap(), 0, in );
 


More information about the wine-patches mailing list