/[libspopc]/queries.c
ViewVC logotype

Diff of /queries.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by ben, Sun Apr 18 11:05:58 2010 UTC revision 24 by ben, Sun Apr 8 22:56:53 2012 UTC
# Line 146  char* recv_rest(pop3sock_t sock, char* b Line 146  char* recv_rest(pop3sock_t sock, char* b
146                  cur = buf = ret;                  cur = buf = ret;
147          }          }
148          cur[total]='\0';          cur[total]='\0';
149          while(!dotline(buf)){ /* recv until "\r\n.\r\n" */          while(!dotline(buf, total)){ /* recv until "\r\n.\r\n" */
150                  if (total >= (bufsize - TCPBUFLEN)){                  if (total >= (bufsize - TCPBUFLEN)){
151                          ret = (char*)realloc(buf, (bufsize *=2) +1);                          ret = (char*)realloc(buf, (bufsize *=2) +1);
152                  }                  }

Legend:
Removed from v.6  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26