aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-08-14 09:59:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-08-14 09:59:23 +0000
commit54c1660a1e6834aaba9b86a5cca6d22eebc28a41 (patch)
treeba877ef70c20aa78b633af3c9fefff099d7bc2f1 /utils
parentmeson: bump version to 1.18.0 (diff)
parentosc: regression: fix OSC-111 handling of alpha changes (diff)
Merge branch 'master' into releases/1.18
Diffstat (limited to 'utils')
-rw-r--r--utils/xtgettcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/xtgettcap.c b/utils/xtgettcap.c
index 069a9ecb..82ee0085 100644
--- a/utils/xtgettcap.c
+++ b/utils/xtgettcap.c
@@ -141,6 +141,9 @@ main(int argc, const char *const *argv)
const char *key = strtok(key_value, "=");
const char *value = strtok(NULL, "=");
+ if (key == NULL)
+ continue;
+
#if 0
assert((success && value != NULL) ||
(!success && value == NULL));