aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/interceptors.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-02 20:20:16 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-02 20:20:16 +0200
commitf45ddcf8136fabc8a14c66250e3be540661b3634 (patch)
tree5701cb54f6b5f463575d4601a3560ec0fd305d83 /src/mds-server/interceptors.c
parentmisc (diff)
downloadmds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.gz
mds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.bz2
mds-f45ddcf8136fabc8a14c66250e3be540661b3634.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-server/interceptors.c6
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;
}