git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up some ANSI C nits pointed out by "gcc -pedantic".
[obnox/wireshark/wip.git]
/
follow.c
diff --git
a/follow.c
b/follow.c
index e24b495eb805664810447b4ed6d17651a2833d1a..4122db74a34c2843491b531b8e94399d06ad211f 100644
(file)
--- a/
follow.c
+++ b/
follow.c
@@
-1,6
+1,6
@@
/* follow.c
*
/* follow.c
*
- * $Id: follow.c,v 1.1
6 1999/10/22 07:17:29
guy Exp $
+ * $Id: follow.c,v 1.1
7 1999/11/18 21:04:53
guy Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@
-54,7
+54,7
@@
static guint32 ip_address[2];
static u_int tcp_port[2];
static int check_fragments( int );
static u_int tcp_port[2];
static int check_fragments( int );
-static void write_packet_data( const
u_
char *, int );
+static void write_packet_data( const char *, int );
/* this will build libpcap filter text that will only
pass the packets related to the stream. There is a
/* this will build libpcap filter text that will only
pass the packets related to the stream. There is a
@@
-262,7
+262,7
@@
reset_tcp_reassembly() {
}
static void
}
static void
-write_packet_data( const
u_
char* data, int length ) {
+write_packet_data( const char* data, int length ) {
fwrite( data, 1, length, data_out_file );
}
fwrite( data, 1, length, data_out_file );
}