chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networkctl: fix strappend() error checking
[elogind.git]
/
src
/
network
/
networkctl.c
diff --git
a/src/network/networkctl.c
b/src/network/networkctl.c
index 21e9b383b2232e71257a0ae690dbfbd5aa8d2724..15dfb81e2a260cde3af8344fc4cb7544c6825dba 100644
(file)
--- a/
src/network/networkctl.c
+++ b/
src/network/networkctl.c
@@
-880,7
+880,7
@@
static char *lldp_system_caps(uint16_t cap) {
}
t = strappend(s, "]");
- if (!
s
)
+ if (!
t
)
return NULL;
free(s);