aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/satd-rm.c')
-rw-r--r--src/satd-rm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/satd-rm.c b/src/satd-rm.c
index 435c302..d33160c 100644
--- a/src/satd-rm.c
+++ b/src/satd-rm.c
@@ -1,5 +1,5 @@
/**
- * Copyright © 2015 Mattias Andrée <maandree@member.fsf.org>
+ * Copyright © 2015, 2016 Mattias Andrée <maandree@member.fsf.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -43,8 +43,7 @@ main(int argc, char *argv[])
/* Receive and validate message. */
t (readall(SOCK_FILENO, &message, &n) || !n || message[n - 1]);
- msg_argv = restore_array(message, n, NULL);
- t (!msg_argv);
+ t (!(msg_argv = restore_array(message, n, NULL)));
/* Perform action. */
for (arg = msg_argv; *arg; arg++)