1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Docfix.

This commit is contained in:
hniksic 2003-11-29 14:19:46 -08:00
parent f57e571154
commit ddd2644bc8

View File

@ -564,7 +564,7 @@ response_status (const struct response *resp, char **message)
if (!resp->headers) if (!resp->headers)
{ {
/* For a HTTP/0.9 response, always assume 200 response. */ /* For a HTTP/0.9 response, assume status 200. */
if (message) if (message)
*message = xstrdup (_("No headers, assuming HTTP/0.9")); *message = xstrdup (_("No headers, assuming HTTP/0.9"));
return 200; return 200;
@ -581,8 +581,8 @@ response_status (const struct response *resp, char **message)
return -1; return -1;
p += 4; p += 4;
/* "/x.x" (optional because some Gnutella servers have been reported /* Match the HTTP version. This is optional because Gnutella
as not sending the "/x.x" part. */ servers have been reported to not specify HTTP version. */
if (p < end && *p == '/') if (p < end && *p == '/')
{ {
++p; ++p;