diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-05-22 15:46:27 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-05-22 15:46:27 +0000 |
commit | a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e (patch) | |
tree | 65a7d5c702bf3392494b33ddd7ed43c94e491670 /capture.c | |
parent | da2f447a9bda3a05dd8e61b1c1f5dea4b5912f6b (diff) | |
download | wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.tar.gz wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.tar.bz2 wireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.zip |
Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,7 +90,7 @@ #include "capture-wpcap.h" #endif #include "ui_util.h" -#include "file_util.h" +#include "wsutil/file_util.h" #include "log.h" typedef struct if_stat_cache_item_s { @@ -580,7 +580,7 @@ capture_input_closed(capture_options *capture_opts) if(capture_opts->restart) { capture_opts->restart = FALSE; - eth_unlink(capture_opts->save_file); + ws_unlink(capture_opts->save_file); /* if it was a tempfile, throw away the old filename (so it will become a tempfile again) */ if(cf_is_tempfile(capture_opts->cf)) { |