summaryrefslogtreecommitdiff
path: root/summary.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-08-22 18:56:20 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-08-22 18:56:20 +0000
commit8043464c24e4f80da76b870ca8af035d51010e2c (patch)
tree1db43eda4da23d1b01afe37bb2167a1b97c3ac6f /summary.c
parent2f77efce7da0a079c38609e7bd24cc69937863b1 (diff)
downloadwireshark-8043464c24e4f80da76b870ca8af035d51010e2c.tar.gz
gcc 4 doesn't like my macro for getting the interface description: it says there's an invalid lvalue in it. I don't see what's wrong with it, but replace the macro with a function. Also: don't include the .xpm files in gtk/main.c if we're building without PCAP (as they're not used in that configuration).
svn path=/trunk/; revision=22588
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/summary.c b/summary.c
index 2d8b92651e..0ac1b8a5f1 100644
--- a/summary.c
+++ b/summary.c
@@ -123,6 +123,6 @@ summary_fill_in_capture(capture_options *capture_opts, summary_tally *st)
{
st->cfilter = capture_opts->cfilter;
st->iface = capture_opts->iface;
- st->iface_descr = GET_IFACE_DESCR(capture_opts);
+ st->iface_descr = get_iface_description(capture_opts);
}
#endif