Menu

#1 Wrong letter

open
nobody
None
5
2004-03-25
2004-03-25
Anonymous
No

Ok, hey ive just downloaded this, and looked through it
(source). Ok, i must test it first, but this error
seemed quite obvious. So here it is.

in this function
TInt CHttpSocketEngine::ReadChunkSize(RSocket &client)

i got this friom the version i jsut downloaded :

if ('0' <= buf[i] && buf[i] <= '9')
chunksize = (chunksize * 16) + (buf[i]-'0');

else if ('a' <= buf[i] && buf[i] <= 'z')
chunksize = (chunksize * 16) + (buf[i]-'a'+10);

else if ('Z' <= buf[i] && buf[i] <= 'Z')
chunksize = (chunksize * 16) + (buf[i]-'A'+10);

where i think* that the 2nd last line should rather
look like this :

else if ('A' <= buf[i] && buf[i] <= 'Z')

Regards,
Corne

email : cornemouton820902@hotmail.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.