aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-04-20 11:23:51 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-20 18:24:20 +0000
commit9e9d284d9157a8b79964015be868f4e8c43274c3 (patch)
treebad43c0cd5b46eb04fd25ed9a5cf6f598d731391 /sharkd.c
parentd09ef614598cf6b714059f39191f09af5701bc93 (diff)
Have separate routines for open-for-reading and open-for-writing errors.
Expand comments while we're at it. Change-Id: I6dcc791eab1c9e323a9572f3d54720d223bdd64b Reviewed-on: https://code.wireshark.org/review/21252 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'sharkd.c')
-rw-r--r--sharkd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharkd.c b/sharkd.c
index 435fd07809..00cabfcb56 100644
--- a/sharkd.c
+++ b/sharkd.c
@@ -484,7 +484,7 @@ cf_open(capture_file *cf, const char *fname, unsigned int type, gboolean is_temp
return CF_OK;
fail:
- cfile_open_failure_message("sharkd", fname, *err, err_info, FALSE, cf->cd_t);
+ cfile_open_failure_message("sharkd", fname, *err, err_info);
return CF_ERROR;
}