projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83bd9d0
)
Fix wrong return value
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 9 Jan 2008 15:50:44 +0000
(16:50 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 9 Jan 2008 15:50:44 +0000
(16:50 +0100)
plugins/dhclient.c
patch
|
blob
|
history
diff --git
a/plugins/dhclient.c
b/plugins/dhclient.c
index
139eb8f
..
cc5efd8
100644
(file)
--- a/
plugins/dhclient.c
+++ b/
plugins/dhclient.c
@@
-179,7
+179,7
@@
static int dhclient_release(struct connman_iface *iface)
task = find_task_by_index(iface->index);
if (task == NULL)
- return
NULL
;
+ return
-ENODEV
;
printf("[DHCP] release %s\n", task->ifname);