summaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-09 22:01:17 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-09 22:01:17 +0000
commit2da54de9682716729154872ffc7946fbca1d6391 (patch)
tree8630c271e2420ebf15eb3e2b9dc81c080adef846 /src/or/buffers.c
parent30969421d3f6389fa985ae997c3a0969b3bfaf29 (diff)
downloadtor-2da54de9682716729154872ffc7946fbca1d6391.tar.gz
tor-2da54de9682716729154872ffc7946fbca1d6391.zip
Make tor build on windows again. More work still needed
svn:r1247
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 55a4bced99..1ddf9d349d 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -433,7 +433,7 @@ int fetch_from_buf_socks(buf_t *buf, socks_request_t *req) {
log_fn(LOG_WARN,"socks5: offered methods don't include 'no auth'. Rejecting.");
req->replylen = 2; /* 2 bytes of response */
req->reply[0] = 5; /* socks5 reply */
- req->reply[1] = 0xFF; /* reject all methods */
+ req->reply[1] = '\xFF'; /* reject all methods */
return -1;
}
buf_remove_from_front(buf,2+nummethods);/* remove packet from buf */