diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-02-10 10:44:50 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-10 10:44:50 +0000 |
commit | 344f834e85e9c7afc47e19226157c8e834725d2e (patch) | |
tree | a0017a6b01932bcb814402c08a78d218fca2f038 /src/ipcpd/ipcp.c | |
parent | 9e138e59ce613fd258b6c22d047f67dd2b0bb1e7 (diff) | |
parent | efb0106950efcf3b5ef86218f719981df9b9e298 (diff) | |
download | ouroboros-344f834e85e9c7afc47e19226157c8e834725d2e.tar.gz ouroboros-344f834e85e9c7afc47e19226157c8e834725d2e.zip |
Merged in sandervrijders/ouroboros/be-ipcpd-logs (pull request #370)
ipcpd: Remove logging if not initialized yet
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r-- | src/ipcpd/ipcp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 42720867..24d8da46 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -306,10 +306,8 @@ int ipcp_init(int argc, struct timeval tv = {(IPCP_ACCEPT_TIMEOUT / 1000), (IPCP_ACCEPT_TIMEOUT % 1000) * 1000}; - if (parse_args(argc, argv, &log)) { - log_err("Failed to parse arguments."); + if (parse_args(argc, argv, &log)) return -1; - } log_init(log); |