diff options
Diffstat (limited to 'wiretap/tnef.c')
-rw-r--r-- | wiretap/tnef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/tnef.c b/wiretap/tnef.c index 1fca687805..d43ffc9270 100644 --- a/wiretap/tnef.c +++ b/wiretap/tnef.c @@ -58,7 +58,7 @@ static gboolean tnef_read(wtap *wth, int *err, gchar **err_info, gint64 *data_of * Probably a corrupt capture file; don't blow up trying * to allocate space for an immensely-large packet. */ - *err = WTAP_ERR_BAD_RECORD; + *err = WTAP_ERR_BAD_FILE; *err_info = g_strdup_printf("tnef: File has %" G_GINT64_MODIFIER "d-byte packet, bigger than maximum of %u", file_size, WTAP_MAX_PACKET_SIZE); return FALSE; |