diff options
author | schnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2005-03-01 12:11:20 +0000 |
---|---|---|
committer | schnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2005-03-01 12:11:20 +0000 |
commit | daf275655975cae5b914f380a599358593ced786 (patch) | |
tree | 0350b63165615548effdf53ff157030c596d6638 /src/http.c | |
parent | ce54de41965cb4b7a1e9ce89e127954d1453e3ba (diff) |
Clean up warning messages
git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@218 1faa4e14-9dd3-4be0-9f0e-ffe519881164
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, "&"); } |