* Invoked every time LibHTP wants to log. * * @param[in] log */
| 114 | * @param[in] log |
| 115 | */ |
| 116 | static int HTPCallbackLog(htp_log_t *log) { |
| 117 | fprintf(logfile, "HTPCallbackLog [%d][code %d][file %s][line %d] %s\n", |
| 118 | log->level, log->code, log->file, log->line, log->msg); |
| 119 | return 0; |
| 120 | } |
| 121 | |
| 122 | void fuzz_openFile(const char * name) { |
| 123 | if (logfile != NULL) { |
nothing calls this directly
no outgoing calls
no test coverage detected