Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (22 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/src/mime_header.cc

    r5495 r5496  
    3737    debugs(25, 5, "mime_get_header: looking for '" << name << "'");
    3838
    39     for (p = mime; *p; p += strcspn(p, "\n")) {
    40         if (strcmp(p, "\n\r\n") == 0 || strcmp(p, "\n\n") == 0)
     39    for (p = mime; *p; p += strcspn(p, "\n\r")) {
     40        if (strcmp(p, "\r\n\r\n") == 0 || strcmp(p, "\n\n") == 0)
    4141            return NULL;
    4242
    43         if (*p == '\n')
     43        while (xisspace(*p))
    4444            ++p;
    4545
Note: See TracChangeset for help on using the changeset viewer.