aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_parse_display.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-11 20:14:09 +0200
committerMattias Andrée <maandree@kth.se>2020-06-11 20:14:09 +0200
commitb56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b (patch)
treeaa502d70d9969c333ccf9e70d55fd6dea41623c2 /libaxl_parse_display.c
parentFix error checking (diff)
downloadlibaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.gz
libaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.bz2
libaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.xz
Misc, mainly connect stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libaxl_parse_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaxl_parse_display.c b/libaxl_parse_display.c
index 037f49b..ab44083 100644
--- a/libaxl_parse_display.c
+++ b/libaxl_parse_display.c
@@ -110,7 +110,7 @@ normal:
errno = saved_errno;
/* Get screen */
- if (*name)
+ if (!*name)
goto done;
if (!isdigit(*name)) {
liberror_save_backtrace(NULL);