mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
fix bad sprintf
This commit is contained in:
parent
ab58809811
commit
dd6761b95c
@ -5165,7 +5165,7 @@ char *Proxy::storeLoginBar ( char *reply ,
|
||||
mp += 16;
|
||||
// store our new content length as ascii into test buf
|
||||
char test[64];
|
||||
long len = sprintf(test,"%li",(long)(newReplySize-mimeLen));
|
||||
long len = sprintf(test,"%li",(long)(*newReplySize-mimeLen));
|
||||
// find end
|
||||
char *end = mp;
|
||||
while ( *end && is_digit(*end) ) end++;
|
||||
|
Loading…
Reference in New Issue
Block a user