From f45ddcf8136fabc8a14c66250e3be540661b3634 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 2 Aug 2014 20:20:16 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server/interceptors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mds-server/interceptors.c') 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; } -- cgit v1.2.3-70-g09d2