projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c119ed
)
Both host and domain provider strings should not be NULL
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 12 Aug 2010 11:26:58 +0000
(13:26 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 12 Aug 2010 11:26:58 +0000
(13:26 +0200)
src/provider.c
patch
|
blob
|
history
diff --git
a/src/provider.c
b/src/provider.c
index
f7a1601
..
40c2750
100644
(file)
--- a/
src/provider.c
+++ b/
src/provider.c
@@
-457,7
+457,7
@@
int __connman_provider_create_and_connect(DBusMessage *msg)
dbus_message_iter_next(&array);
}
- if (host == NULL
&&
domain == NULL) {
+ if (host == NULL
||
domain == NULL) {
err = -EINVAL;
goto failed;
}