chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: add test for continuation lines with comments
[elogind.git]
/
src
/
login
/
sd-login.c
diff --git
a/src/login/sd-login.c
b/src/login/sd-login.c
index 4bc51e71a253ab4fea5fbcf8528ccb9b87868369..b81dddf86ba79d36259fd544476ca754ff3c2e8f 100644
(file)
--- a/
src/login/sd-login.c
+++ b/
src/login/sd-login.c
@@
-196,7
+196,7
@@
_public_ int sd_uid_is_on_seat(uid_t uid, int require_active, const char *seat)
}
FOREACH_WORD(w, l, s, state) {
- if (strn
cmp(t, w, l) == 0
) {
+ if (strn
eq(t, w, l)
) {
free(s);
free(t);