diff options
Diffstat (limited to 'src/http.c')
-rw-r--r-- | src/http.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -628,8 +628,8 @@ static int AddHeader(httpRequest *request, const char *line) } else { - CCTK_WARN( 1, "Invalid header line:\n" ); - CCTK_WARN( 1, line ); + CCTK_VWarn(1, __LINE__,__FILE__,CCTK_THORNSTRING, + "Invalid header line:\n\"%s\"", line ); } if(value) @@ -780,9 +780,8 @@ static int StripArgs(httpRequest *request, char *request_uri) } else { - CCTK_WARN( 1, "Argument " ); - CCTK_WARN( 1, token ); - CCTK_WARN( 1, " has no value!\n" ); + CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, + "Argument \"%s\" has no value!", token ); } token=strtok(NULL, "&"); } |