/[jscoverage]/trunk/http-message.c
ViewVC logotype

Diff of /trunk/http-message.c

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

revision 177 by siliconforks, Sat Sep 20 23:30:26 2008 UTC revision 438 by siliconforks, Tue Jun 9 04:31:39 2009 UTC
# Line 1  Line 1 
1  /*  /*
2      http-message.c - HTTP message object      http-message.c - HTTP message object
3      Copyright (C) 2008 siliconforks.com      Copyright (C) 2008, 2009 siliconforks.com
4    
5      This program is free software; you can redistribute it and/or modify      This program is free software; you can redistribute it and/or modify
6      it under the terms of the GNU General Public License as published by      it under the terms of the GNU General Public License as published by
# Line 22  Line 22 
22  #include "http-server.h"  #include "http-server.h"
23    
24  #include <assert.h>  #include <assert.h>
 #include <errno.h>  
25  #include <string.h>  #include <string.h>
26    
27  #include "stream.h"  #include "stream.h"
# Line 432  Line 431 
431      skip_lws(&p);      skip_lws(&p);
432    
433      if (*p == '\0') {      if (*p == '\0') {
434          /* value was empty: ignore this header??? */
435        free(name);        free(name);
436        Stream_delete(stream);        continue;
       return -1;  
437      }      }
438    
439      /* skip backward over LWS, starting from the last char in the buffer */      /* skip backward over LWS, starting from the last char in the buffer */

Legend:
Removed from v.177  
changed lines
  Added in v.438

  ViewVC Help
Powered by ViewVC 1.1.24