mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Clarify that the shown number is the error code.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ static void log_regex_error(const char *where, const int errcode, const int inde
|
||||
const size_t length = regerror(errcode, ®ex[regexid][index], NULL, 0);
|
||||
char *buffer = calloc(length,sizeof(char));
|
||||
(void) regerror (errcode, ®ex[regexid][index], buffer, length);
|
||||
logg("ERROR: %s regex %s filter \"%s\": %s (%i)", where, regextype[regexid], regexin, buffer, errcode);
|
||||
logg("ERROR: %s regex %s filter \"%s\": %s (error %i)", where, regextype[regexid], regexin, buffer, errcode);
|
||||
free(buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user