fix bad sprintf

This commit is contained in:
Matt 2014-11-11 16:17:48 -08:00
parent ab58809811
commit dd6761b95c

View File

@ -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++;