diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
commit | 7cd0417af555a78b19c6909a40d1867e0fe9a063 (patch) | |
tree | cc09f739029479eee683f26228e098db307fd1aa /ui/text_import.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) |
Fix numerous instances of a variable/parameter name "shadowing" a library function name;
(At least some (gcc ?) compilers give a "shadow" warning for these).
svn path=/trunk/; revision=46402
Diffstat (limited to 'ui/text_import.c')
-rw-r--r-- | ui/text_import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/text_import.c b/ui/text_import.c index 45d48bae8c..690e6e8f00 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -512,7 +512,8 @@ write_current_packet (void) memset(&packet_buf[prefix_length+curr_offset], 0, eth_trailer_length); } - HDR_TCP.seq_num = g_htonl(g_ntohl(HDR_TCP.seq_num) + curr_offset); + HDR_TCP.seq_num = g_ntohl(HDR_TCP.seq_num) + curr_offset; + HDR_TCP.seq_num = g_htonl(HDR_TCP.seq_num); { /* Write the packet */ |