Commit 8c7c9b46 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent fc5cd74d
Loading
Loading
Loading
Loading
+1 −3
Changes for src/http.cpp: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -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){