diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-05 12:32:27 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-05 19:33:13 +0000 |
commit | 9b81e6b2b8f1bfe8684c43772d37276b9c4e429c (patch) | |
tree | fe53cdbc3724bd56f5f1cfd23005b9b24cbe855a | |
parent | 6319ff6e1a19fcba1099c757998fe046da30d3f5 (diff) | |
download | wireshark-9b81e6b2b8f1bfe8684c43772d37276b9c4e429c.tar.gz |
Fix an error caught by enum-conversion warnings.
(Strong typing is for weak minds.
Human minds are weak.
Therefore, strong typing is for human minds.)
Change-Id: I2a973b6168235d5d1c7f2a5f8ac79b97b963d846
Reviewed-on: https://code.wireshark.org/review/2863
Reviewed-by: Guy Harris <guy@alum.mit.edu>
(cherry picked from commit 3f7725174d2c4122b1d159958a56b8d8b928301b)
Reviewed-on: https://code.wireshark.org/review/2864
-rw-r--r-- | wiretap/netmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/netmon.c b/wiretap/netmon.c index 080db3be3a..bfd295869b 100644 --- a/wiretap/netmon.c +++ b/wiretap/netmon.c @@ -774,7 +774,7 @@ static process_trailer_retval netmon_process_rec_trailer(netmon_t *netmon, if (!(l_time_min <= secs && secs <= l_time_max)) { *err = WTAP_ERR_BAD_FILE; *err_info = g_strdup_printf("netmon: time stamp outside supported range"); - return FALSE; + return FAILURE; /* can't handle this time value */ } /* |