Loading src/http.cpp +1 −3 Changes for src/http.cpp: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -107,9 +107,7 @@ size_t libhttppp::HttpHeader::getDataSizet(const char *key,HttpHeader::HeaderDat httpexception[HTTPException::Note] << "getDataSizet key: " << key << " not found !"; throw httpexception; } size_t ret; sscanf(val,"%zu",&ret); return ret; return atoi(val); } int libhttppp::HttpHeader::getDataInt(const char *key,HttpHeader::HeaderData **pos){ Loading Loading
src/http.cpp +1 −3 Changes for src/http.cpp: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -107,9 +107,7 @@ size_t libhttppp::HttpHeader::getDataSizet(const char *key,HttpHeader::HeaderDat httpexception[HTTPException::Note] << "getDataSizet key: " << key << " not found !"; throw httpexception; } size_t ret; sscanf(val,"%zu",&ret); return ret; return atoi(val); } int libhttppp::HttpHeader::getDataInt(const char *key,HttpHeader::HeaderData **pos){ Loading