diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-05 19:11:26 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-05 19:11:26 +0200 |
commit | 6c799af1b4cf86a32979d98034c560fb976a9caf (patch) | |
tree | f9072634e81bc152c0ca52b927ab9984a845e0e8 /src/lib/ipcp.c | |
parent | db96f7d488681be47abfeec6c636fd4159a37660 (diff) | |
parent | bc9c60382b226e5a75a11a99364b9b799dc2b0c2 (diff) | |
download | ouroboros-6c799af1b4cf86a32979d98034c560fb976a9caf.tar.gz ouroboros-6c799af1b4cf86a32979d98034c560fb976a9caf.zip |
Merged in dstaesse/ouroboros/be-pid (pull request #157)
lib: Change invalid pid to -1
Diffstat (limited to 'src/lib/ipcp.c')
-rw-r--r-- | src/lib/ipcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ipcp.c b/src/lib/ipcp.c index b336155e..e4a82b60 100644 --- a/src/lib/ipcp.c +++ b/src/lib/ipcp.c @@ -103,7 +103,7 @@ static ipcp_msg_t * send_recv_ipcp_msg(pid_t api, pid_t ipcp_create(enum ipcp_type ipcp_type) { - pid_t api = 0; + pid_t api = -1; char irmd_api[10]; size_t len = 0; char * ipcp_dir = "/sbin/"; |