StartPos is always positive for http/https
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 27 Feb 2014 00:26:29 +0000 (01:26 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 13 Mar 2014 12:58:45 +0000 (13:58 +0100)
commit3de8f956d5fcf023ab65f88579cd77121694d872
tree153df3708907edcd74c517c591b905e17a772c01
parentd3e8fbb395f57954acd7a2095f02ce530a05ec6a
StartPos is always positive for http/https

server.cc: In member function ‘bool ServerState::HeaderLine(std::string)’:
server.cc:198:72: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
       else if (sscanf(Val.c_str(),"bytes %llu-%*u/%llu",&StartPos,&Size) != 2)

Git-Dch: Ignore
Reported-By: gcc -Wpedantic
methods/http.cc
methods/server.h