Roy's Projects
/
dhcpcd-ui
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c81444
)
Don't warn about empty scan results.
author
Roy Marples
<roy@marples.name>
Fri, 9 Jul 2010 09:23:26 +0000
(09:23 +0000)
committer
Roy Marples
<roy@marples.name>
Fri, 9 Jul 2010 09:23:26 +0000
(09:23 +0000)
src/dhcpcd-gtk/main.c
patch
|
blob
|
history
diff --git
a/src/dhcpcd-gtk/main.c
b/src/dhcpcd-gtk/main.c
index 3957e676ae6e99e0a7b53cd7208d6b7623b1934c..9734ad50e152675f51a7dbe9c44f09ed833e2bf7 100644
(file)
--- a/
src/dhcpcd-gtk/main.c
+++ b/
src/dhcpcd-gtk/main.c
@@
-278,7
+278,7
@@
scan_cb(DHCPCD_CONNECTION *con, DHCPCD_IF *i, _unused void *data)
g_message(_("%s: Received scan results"), i->ifname);
scans = dhcpcd_wi_scans(con, i);
- if (scans == NULL) {
+ if (scans == NULL
&& dhcpcd_error(con) != NULL
) {
g_warning("%s: %s", i->ifname, dhcpcd_error(con));
dhcpcd_error_clear(con);
}