cvs: php4 /main main.c
| From: | Sascha Schumann | Date: | Fri, 27 Oct 2000 10:28:57 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2294@lists.php.net to get a copy of this message | ||
sas Fri Oct 27 03:28:57 2000 EDT
Modified files:
/php4/main main.c
Log:
Initialize auth_(user|password) to NULL, if data was not suitable.
Index: php4/main/main.c
diff -u php4/main/main.c:1.329 php4/main/main.c:1.330
--- php4/main/main.c:1.329 Fri Oct 27 03:16:54 2000
+++ php4/main/main.c Fri Oct 27 03:28:57 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: main.c,v 1.329 2000/10/27 10:16:54 sas Exp $ */
+/* $Id: main.c,v 1.330 2000/10/27 10:28:57 sas Exp $ */
#include <stdio.h>
@@ -1236,6 +1236,10 @@
}
}
}
+
+ if (ret == -1)
+ SG(request_info).auth_user = SG(request_info).auth_password = NULL;
+
return ret;
}