summaryrefslogtreecommitdiff
path: root/src/irmd/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/ipcp.c')
-rw-r--r--src/irmd/ipcp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/irmd/ipcp.c b/src/irmd/ipcp.c
index ed1ad924..794d060e 100644
--- a/src/irmd/ipcp.c
+++ b/src/irmd/ipcp.c
@@ -296,14 +296,11 @@ int ipcp_connect(pid_t api,
msg.api = api;
recv_msg = send_recv_ipcp_msg(api, &msg);
- if (recv_msg == NULL) {
- log_dbg("bad msg");
+ if (recv_msg == NULL)
return -EIPCP;
- }
if (recv_msg->has_result == false) {
ipcp_msg__free_unpacked(recv_msg, NULL);
- log_dbg("no result.");
return -EIPCP;
}