Skip to content
Snippets Groups Projects
Commit 111e1f29 authored by Johan Sundström's avatar Johan Sundström
Browse files

Oops.

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.26
parent fdfa092e
No related branches found
No related tags found
No related merge requests found
...@@ -579,7 +579,7 @@ string data() ...@@ -579,7 +579,7 @@ string data()
buf += con->read(l); buf += con->read(l);
} }
if(zero_type( len )) if(zero_type( len ))
len = sizeof( data ) - datapos - 1; len = sizeof( buf ) - datapos - 1;
#ifdef HTTP_QUERY_NOISE #ifdef HTTP_QUERY_NOISE
werror("buf[datapos..] : %O\n", buf[datapos werror("buf[datapos..] : %O\n", buf[datapos
..min(sizeof(buf), datapos+19)]); ..min(sizeof(buf), datapos+19)]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment