aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-10 16:00:34 +0200
committerMattias Andrée <maandree@kth.se>2016-07-10 16:00:34 +0200
commit58f8347e84d2820cada64c513bb0f2b81ecd494a (patch)
tree758f5f2241c384b8d0e8ce349498784515ae5607 /src/mds-server
parentAdd -l flags for mds-libinput (diff)
downloadmds-58f8347e84d2820cada64c513bb0f2b81ecd494a.tar.gz
mds-58f8347e84d2820cada64c513bb0f2b81ecd494a.tar.bz2
mds-58f8347e84d2820cada64c513bb0f2b81ecd494a.tar.xz
Fix new GCC warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/mds-server')
-rw-r--r--src/mds-server/interceptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-server/interceptors.c b/src/mds-server/interceptors.c
index ddaedd6..fccb0fa 100644
--- a/src/mds-server/interceptors.c
+++ b/src/mds-server/interceptors.c
@@ -141,7 +141,7 @@ void add_intercept_condition(client_t* client, char* condition, int64_t priority
else
{
/* Duplicate condition string. */
- fail_if (xstrdup(condition, condition));
+ fail_if (xstrdup_nn(condition, condition));
/* Grow the interception condition list. */
fail_if (xrealloc(conds, n + 1, interception_condition_t));