Commit 22272cf5 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent 045acd25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ const char * libhttppp::HttpResponse::getState(){
}

size_t libhttppp::HttpResponse::getContentLength(){
  if(_ContentLength->empty())
  if(!_ContentLength || _ContentLength->empty())
    return 0;

  return _ContentLength->at(0).getSizetValue();