From 36209e8773e5f6b7742e61cfe34e0281460d2cbf Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Wed, 25 Jan 2012 18:03:50 +0000 Subject: Fix error when building QtShark: ...\capture_opts.h(94) : error C2461: 'remote_host' : constructor syntax missing formal parameters svn path=/trunk/; revision=40723 --- capture_opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index a93ad457cc..f8ed3cd1d8 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -90,7 +90,7 @@ typedef enum { } interface_type; #ifdef HAVE_PCAP_REMOTE -struct remote_host { +struct remote_host_info { gchar *remote_host; /**< Host name or network address for remote capturing */ gchar *remote_port; /**< TCP port of remote RPCAP server */ gint auth_type; /**< Authentication type */ @@ -103,7 +103,7 @@ struct remote_host { typedef struct remote_options_tag { capture_source src_type; - struct remote_host remote_host_opts; + struct remote_host_info remote_host_opts; #ifdef HAVE_PCAP_SETSAMPLING capture_sampling sampling_method; int sampling_param; -- cgit v1.2.1