diff options
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 */ |