X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fcore%2Fdata.c;h=d176b891e8e7dd71476dbaebe6c6cb82b5952884;hp=6fcd2eb4b47a05d202ca8aa8aaada16b40c763ce;hb=dcf7802ad0958d4752b2c13f70e2fdf345d3509f;hpb=2d39d666abde2d66a55ac4536da3f250d9513f48 diff --git a/src/core/data.c b/src/core/data.c index 6fcd2eb..d176b89 100644 --- a/src/core/data.c +++ b/src/core/data.c @@ -1152,7 +1152,7 @@ sdb_data_parse(const char *str, int type, sdb_data_t *data) return -1; if (regcomp(&tmp.data.re.regex, tmp.data.re.raw, REG_EXTENDED | REG_ICASE | REG_NOSUB)) { - sdb_log(SDB_LOG_ERR, "core: Failed to compile regular " + sdb_log(SDB_LOG_ERR, "Failed to compile regular " "expression '%s'", tmp.data.re.raw); free(tmp.data.re.raw); return -1; @@ -1176,13 +1176,13 @@ sdb_data_parse(const char *str, int type, sdb_data_t *data) || (type == SDB_TYPE_DATETIME)) { if (errno || (str == endptr)) { char errbuf[1024]; - sdb_log(SDB_LOG_ERR, "core: Failed to parse string " + sdb_log(SDB_LOG_ERR, "Failed to parse string " "'%s' as numeric value (type %i): %s", str, type, sdb_strerror(errno, errbuf, sizeof(errbuf))); return -1; } else if (endptr && (*endptr != '\0')) - sdb_log(SDB_LOG_WARNING, "core: Ignoring garbage after " + sdb_log(SDB_LOG_WARNING, "Ignoring garbage after " "number while parsing numeric value (type %i): %s.", type, endptr); }