summaryrefslogtreecommitdiff
path: root/capture.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-05-22 15:46:27 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-05-22 15:46:27 +0000
commita5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e (patch)
tree65a7d5c702bf3392494b33ddd7ed43c94e491670 /capture.c
parentda2f447a9bda3a05dd8e61b1c1f5dea4b5912f6b (diff)
downloadwireshark-a5cee04fad8ca23a2f3a3ac5b5233ca6b01fe71e.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index b93fcc1a22..27e661b53b 100644
--- a/capture.c
+++ b/capture.c
@@ -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)) {