aboutsummaryrefslogtreecommitdiffstats
path: root/savefile.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-08-11 22:10:51 -0700
committerGuy Harris <guy@alum.mit.edu>2009-08-11 22:10:51 -0700
commit8b04d928b68300c40f4be359c9ab0c97d4a3a227 (patch)
tree13acef006072c542a968437f4dcd79fd89b3c2ef /savefile.c
parentddea9de6231bb1cb6221beca345e5d476fd18d2f (diff)
No, that's not an issue - it'll be a strdup() in any case, and safe to
free. Revert previous change.
Diffstat (limited to 'savefile.c')
-rw-r--r--savefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/savefile.c b/savefile.c
index b501b6a..67da51f 100644
--- a/savefile.c
+++ b/savefile.c
@@ -1361,7 +1361,7 @@ pcap_fopen_offline(FILE *fp, char *errbuf)
bpf_u_int32 magic;
int linklen;
- p = pcap_create_common(NULL, errbuf);
+ p = pcap_create_common("(savefile)", errbuf);
if (p == NULL)
return (NULL);