/[winpt]/trunk/Src/wptHTTP.cpp
ViewVC logotype

Diff of /trunk/Src/wptHTTP.cpp

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

revision 270 by twoaday, Sat Sep 30 10:24:34 2006 UTC revision 271 by twoaday, Sun Nov 5 08:57:45 2006 UTC
# Line 326  wHTTP::extractHostInfo (const char *_url Line 326  wHTTP::extractHostInfo (const char *_url
326    
327      /* XXX: do not use static buffers. */      /* XXX: do not use static buffers. */
328      memset (tmpbuf, 0, sizeof (tmpbuf));      memset (tmpbuf, 0, sizeof (tmpbuf));
329      strncpy (tmpbuf, _url, sizeof (tmpbuf)-1);      strncpy (tmpbuf, _url, DIM (tmpbuf)-1);
330            
331      p = "http://";      p = "http://";
332      if (strlen (_url) < 10 || strncmp (_url, p, 7))      if (strlen (_url) < 10 || strncmp (_url, p, 7))

Legend:
Removed from v.270  
changed lines
  Added in v.271

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26