diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2023-08-01 23:09:57 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2023-08-07 14:57:21 +0200 |
commit | f172ffca292594147939280dab20cb03a4921fb6 (patch) | |
tree | bc63edcd5fbd474cdfdcced0d89b659c3bcc1cb4 /cgi.h | |
parent | 62b01654da4f1ae1a9aaeab106cea5e7bb9d77e3 (diff) |
add log messages
Diffstat (limited to 'cgi.h')
-rw-r--r-- | cgi.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,9 +33,9 @@ #include <kcgi.h> -#include "error.h" - -#define K_OK(kcgi_call) if(kcgi_call != KCGI_OK) \ - return VAULT_CGI_ERROR +#define K_OK(kcgi_call, r) \ +if(kcgi_call != KCGI_OK) { \ + kutil_warn(r, NULL, "Unexpected CGI error"); \ +} #endif /* VAULT_CGI_H */ |