Put back extra info if it was present
Modified: trunk/reactos/lib/wininet/http.c
_____
Modified: trunk/reactos/lib/wininet/http.c
--- trunk/reactos/lib/wininet/http.c 2005-12-11 21:22:45 UTC (rev
20084)
+++ trunk/reactos/lib/wininet/http.c 2005-12-11 21:24:27 UTC (rev
20085)
@@ -1369,6 +1369,10 @@
if (urlComponents.nPort == INTERNET_INVALID_PORT_NUMBER)
urlComponents.nPort = INTERNET_DEFAULT_HTTP_PORT;
+ if (sizeof(path) / sizeof(path[0]) <= strlenW(path) +
strlenW(extra))
+ return FALSE;
+ strcatW(path, extra);
+
#if 0
/*
* This upsets redirects to binary files on
sourceforge.net