chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus-proxy: no need to negate error codes, log_error_errno() already does it
[elogind.git]
/
src
/
bus-proxyd
/
proxy.c
diff --git
a/src/bus-proxyd/proxy.c
b/src/bus-proxyd/proxy.c
index fb2409233c54a6d0cd7e17eea146f10e131687bb..1c72eac36691e17a45f1f1d4ffcc8fdd9e0eb029 100644
(file)
--- a/
src/bus-proxyd/proxy.c
+++ b/
src/bus-proxyd/proxy.c
@@
-576,11
+576,11
@@
static int process_hello(Proxy *p, sd_bus_message *m) {
if (p->got_hello)
return 0;
if (p->got_hello)
return 0;
- return log_error_errno(
-
EIO, "First packet isn't hello (it's %s.%s), aborting.", m->interface, m->member);
+ return log_error_errno(EIO, "First packet isn't hello (it's %s.%s), aborting.", m->interface, m->member);
}
if (p->got_hello)
}
if (p->got_hello)
- return log_error_errno(
-
EIO, "Got duplicate hello, aborting.");
+ return log_error_errno(EIO, "Got duplicate hello, aborting.");
p->got_hello = true;
p->got_hello = true;