diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-12 13:15:08 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-12 13:15:08 +0000 |
commit | c78221d4ce3a572fcb625e927cefbca90cc76d45 (patch) | |
tree | bfcfb908239e1f02b777a6415a445ad92a1cbebd /rawshark.c | |
parent | 6e31c8c4064f7e91c43535403f031fbde5aac7d8 (diff) |
Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
svn path=/trunk/; revision=34487
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rawshark.c b/rawshark.c index 4218941eca..f259ff44cc 100644 --- a/rawshark.c +++ b/rawshark.c @@ -541,7 +541,7 @@ main(int argc, char *argv[]) } /* Set the name resolution code's flags from the preferences. */ - g_resolv_flags = prefs_p->name_resolve; + gbl_resolv_flags = prefs_p->name_resolve; /* Read the disabled protocols file. */ read_disabled_protos_list(&gdp_path, &gdp_open_errno, &gdp_read_errno, @@ -617,12 +617,12 @@ main(int argc, char *argv[]) line_buffered = TRUE; break; case 'n': /* No name resolution */ - g_resolv_flags = RESOLV_NONE; + gbl_resolv_flags = RESOLV_NONE; break; case 'N': /* Select what types of addresses/port #s to resolve */ - if (g_resolv_flags == RESOLV_ALL) - g_resolv_flags = RESOLV_NONE; - badopt = string_to_name_resolve(optarg, &g_resolv_flags); + if (gbl_resolv_flags == RESOLV_ALL) + gbl_resolv_flags = RESOLV_NONE; + badopt = string_to_name_resolve(optarg, &gbl_resolv_flags); if (badopt != '\0') { cmdarg_err("-N specifies unknown resolving option '%c'; valid options are 'm', 'n', and 't'", badopt); |