summaryrefslogtreecommitdiff
blob: c8a74a58e444ef568e66a833a6923870d2bd6257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- http.c~	2007-06-09 16:33:45.000000000 +0200
+++ http.c	2009-09-27 09:50:56.420394637 +0200
@@ -3377,8 +3377,8 @@ static int checkHTTPpassword(char *theRe
 
   i = decodeString(thePw, (unsigned char*)outBuffer, sizeof(outBuffer));
 
-  if(i == 0) {
     user = "", thePw[0] = '\0';
+  if(i == 0) {
     outBuffer[0] = '\0';
   } else {
     outBuffer[i] = '\0';