Show
Ignore:
Timestamp:
08/20/04 17:23:20 (9 years ago)
Author:
alexcv
Message:

Send URL to central server

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog/libhttpd/api.c

    r148 r190  
    519519                                } 
    520520                        } 
     521                        /* acv@acv.ca/wifidog: Added decoding of host: if 
     522                         * present. */ 
     523                        if (strncasecmp(buf,"Host: ",6) == 0) 
     524                        { 
     525                                cp = index(buf,':') + 2; 
     526                                if(cp) 
     527                                { 
     528                                        strncpy(server->request.host,cp, 
     529                                                HTTP_MAX_URL); 
     530                                } 
     531                        } 
     532                        /* End modification */ 
    521533                        if (strncasecmp(buf,"If-Modified-Since: ",19) == 0) 
    522534                        {