diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-13 23:23:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-13 23:23:33 +0000 |
commit | 13a80ce39fb3704a029d51200dfa2366040a0b4f (patch) | |
tree | 3fe1fe3fea1e876a1ccda51ed485f9268e70c64b /capture_opts.c | |
parent | 0de5240a74b39577fc6adb7c95a04de49f775a25 (diff) |
Don't fill in err_str if we're not going to use it.
(This helps flag capture_interface_list() calls that should perhaps be
checked to see whether an error should be reported if they fail.)
svn path=/trunk/; revision=49281
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c index 2718eeaafa..3c88d282ff 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -517,7 +517,7 @@ capture_opts_add_iface_opt(capture_options *capture_opts, const char *optarg_str * the interface name, so that the user can try specifying an * interface explicitly for testing purposes. */ - if_list = capture_interface_list(&err, &err_str); + if_list = capture_interface_list(&err, NULL); if (if_list != NULL) { /* try and do an exact match (case insensitive) */ GList *if_entry; |