diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/interceptors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-server/interceptors.c b/src/mds-server/interceptors.c index 552d7a1..6d798d9 100644 --- a/src/mds-server/interceptors.c +++ b/src/mds-server/interceptors.c @@ -56,7 +56,7 @@ static void remove_intercept_condition(client_t* client, size_t index) } else if (xrealloc(conds, n, interception_condition_t)) - perror(*argv); + xperror(*argv); else client->interception_conditions = conds; } @@ -142,14 +142,14 @@ void add_intercept_condition(client_t* client, char* condition, int64_t priority /* Duplicate condition string. */ if ((condition = strdup(condition)) == NULL) { - perror(*argv); + xperror(*argv); return; } /* Grow the interception condition list. */ if (xrealloc(conds, n + 1, interception_condition_t)) { - perror(*argv); + xperror(*argv); free(condition); return; } |