diff options
Diffstat (limited to 'src/Server.c')
-rw-r--r-- | src/Server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.c b/src/Server.c index bd8b8a6..5959c9c 100644 --- a/src/Server.c +++ b/src/Server.c @@ -169,8 +169,8 @@ int HTTP_RegisterPage(const char *path, int (*function)(const cGH *, httpRequest if(Util_HashData(pages, strlen(path), path, 0)) { - CCTK_WARN( 1, "Page already exists:\n" ); - CCTK_WARN( 1, path ); + CCTK_VWarn(1, __LINE__,__FILE__,CCTK_THORNSTRING, + "Page exists already:\n\"%s\"", path); } else { |