From c29005212dc38d98c707639d1a82ffa5270f2e97 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 3 Mar 2015 00:05:14 -0500 Subject: bus-proxyd: avoid logging oom twice --- src/bus-proxyd/bus-proxyd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf