X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8bdbcf67d5686ab823e466e6df7900aec8c21c1a..c32d54cd0e110c510a7bb88c8ef88e79e7ee1edd:/methods/http.cc?ds=sidebyside diff --git a/methods/http.cc b/methods/http.cc index ba86aa6b6..e2337a9ba 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -58,6 +58,7 @@ unsigned long PipelineDepth = 10; unsigned long TimeOut = 120; bool Debug = false; + // CircleBuf::CircleBuf - Circular input buffer /*{{{*/ // --------------------------------------------------------------------- /* */ @@ -95,7 +96,7 @@ bool CircleBuf::Read(int Fd) // Woops, buffer is full if (InP - OutP == Size) return true; - + // Write the buffer segment int Res; Res = read(Fd,Buf + (InP%Size),LeftRead());