summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-03 00:05:14 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-03 10:19:51 -0500
commitc29005212dc38d98c707639d1a82ffa5270f2e97 (patch)
tree47da81587cabbde50c74f443a51ac862e96d7394 /src
parent576a13eaf6491fdbebc817ef613963ac24cfb6b8 (diff)
bus-proxyd: avoid logging oom twice
Diffstat (limited to 'src')
-rw-r--r--src/bus-proxyd/bus-proxyd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
index 9645c504f5..d612816851 100644
--- a/src/bus-proxyd/bus-proxyd.c
+++ b/src/bus-proxyd/bus-proxyd.c
@@ -68,7 +68,7 @@ static int client_context_new(ClientContext **out) {
c = new0(ClientContext, 1);
if (!c)
- return log_oom();
+ return -ENOMEM;
c->fd = -1;