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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 8 06:35:41 CST 2007


Module: wine
Branch: master
Commit: 7e8ef764b8c776b7336117bfb2de9bc757a650bd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7e8ef764b8c776b7336117bfb2de9bc757a650bd

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sun Jan  7 12:53:38 2007 +0000

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

---

 dlls/wininet/http.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 438a284..eb842b1 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-cvs mailing list