diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-06 19:14:42 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-06 19:14:42 +0200 |
commit | 4fb0d2bfb7486936ef05721667f03eccf664d56e (patch) | |
tree | c3753f440085a2126e399cb8667d99eb91a8ad6a /src/ipcpd/shim-udp/main.c | |
parent | 90c3c96b5c9b1e4db6bb6d1894a21aec54a965b1 (diff) | |
parent | bb85e730783ae34808e42c3107759f43106a9b1d (diff) | |
download | ouroboros-4fb0d2bfb7486936ef05721667f03eccf664d56e.tar.gz ouroboros-4fb0d2bfb7486936ef05721667f03eccf664d56e.zip |
Merged in sandervrijders/ouroboros/be (pull request #161)
lib, irmd, ipcpd: Provide the feature to write to logs
Diffstat (limited to 'src/ipcpd/shim-udp/main.c')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 9354ec2f..b0fe1c11 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -1557,7 +1557,7 @@ static struct ipcp * ipcp_udp_create() #ifndef MAKE_CHECK -int main (int argc, char * argv[]) +int main(int argc, char * argv[]) { struct sigaction sig_act; sigset_t sigset; @@ -1567,8 +1567,8 @@ int main (int argc, char * argv[]) sigaddset(&sigset, SIGHUP); sigaddset(&sigset, SIGPIPE); - if (ipcp_arg_check(argc, argv)) { - LOG_ERR("Wrong arguments."); + if (ipcp_parse_arg(argc, argv)) { + LOG_ERR("Failed to parse arguments."); exit(1); } |