diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-02-15 21:47:57 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-02-15 21:47:57 +0000 |
commit | 1372d880e493ce404f3b1cb8a1bad010d3749f88 (patch) | |
tree | ab9611fe056fd19c3674191f606c15790b40380c /editcap.c | |
parent | a5983c36bd9e5653d4be552ce0b9b3a3a2c37b79 (diff) |
Add a routine to report write errors to the list of failure-reporting
routines handled by epan/report_err.c.
Move copy_binary_file() in file.c to epan/filesystem.c, and rename it to
copy_file_binary_mode() (to clarify that it *can* copy text files;
arguably, *all* files are "binary" unless you're on, say, an IBM 1401
:-)). Have it use the report_err.c routines, so it works in
console-mode programs.
Clean up some comments while we're at it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27456 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -428,7 +428,7 @@ main(int argc, char *argv[]) g_warning("capinfos: init_progfile_dir(): %s", init_progfile_dir_error); g_free(init_progfile_dir_error); } else { - init_report_err(failure_message,NULL,NULL); + init_report_err(failure_message,NULL,NULL,NULL); init_plugins(); } #endif |