clarify the warning for unrecognized socks version

(generally happens when people use tor as an httpd proxy)


svn:r576
This commit is contained in:
Roger Dingledine 2003-10-11 23:38:20 +00:00
parent ac5152d822
commit 4d0b8f00b1

View File

@ -473,7 +473,7 @@ int fetch_from_buf_socks(buf_t *buf, char *socks_version,
return 1; return 1;
default: /* version is not socks4 or socks5 */ default: /* version is not socks4 or socks5 */
log_fn(LOG_WARN,"Socks version %d not recognized.",*(buf->buf)); log_fn(LOG_WARN,"Socks version %d not recognized. (Tor is not an httpd proxy.)",*(buf->buf));
return -1; return -1;
} }
} }