git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f43797
)
Squelch a compiler warning.
author
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 02:32:19 +0000
(
02:32
+0000)
committer
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 02:32:19 +0000
(
02:32
+0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11401
f5534014
-38df-0310-8fa8-
9805f1628bb7
gtk/capture_dlg.c
patch
|
blob
|
history
diff --git
a/gtk/capture_dlg.c
b/gtk/capture_dlg.c
index 4b9f3a335ec164a72473c4fe499c950cb84974c2..0689dadbfa958be963e434f160becb44ecb7c55b 100644
(file)
--- a/
gtk/capture_dlg.c
+++ b/
gtk/capture_dlg.c
@@
-291,7
+291,7
@@
set_link_type_list(GtkWidget *linktype_om, GtkWidget *entry)
lt_list = get_pcap_linktype_list(if_name, err_buf);
/* create string of list of IP addresses of this interface */
- for( ;
curr_ip = g_slist_nth(if_info->ip_addr, ips)
; ips++) {
+ for( ;
(curr_ip = g_slist_nth(if_info->ip_addr, ips)) != NULL
; ips++) {
if (ips != 0) {
g_string_append(ip_str, ", ");
}