projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.24
[platform/upstream/connman.git]
/
tools
/
dhcp-server-test.c
diff --git
a/tools/dhcp-server-test.c
b/tools/dhcp-server-test.c
index
4252e62
..
b7d2e54
100644
(file)
--- a/
tools/dhcp-server-test.c
+++ b/
tools/dhcp-server-test.c
@@
-89,7
+89,7
@@
int main(int argc, char *argv[])
printf("Create DHCP server for interface %d\n", index);
dhcp_server = g_dhcp_server_new(G_DHCP_IPV4, index, &error);
- if (
dhcp_server == NULL
) {
+ if (
!dhcp_server
) {
handle_error(error);
exit(0);
}