summaryrefslogtreecommitdiff
path: root/follow.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1998-10-28 01:29:16 +0000
committerGuy Harris <guy@alum.mit.edu>1998-10-28 01:29:16 +0000
commitc1d855937957f608a1a28991346ae199a956fada (patch)
treeb7776458511ab91ab16cd9be0f939d9e60a54116 /follow.c
parent6f241463be673d438a793b3f2af8d332912e3b74 (diff)
downloadwireshark-c1d855937957f608a1a28991346ae199a956fada.tar.gz
Use "memcpy()" rather than "bcopy()", to eliminate one "gcc -Wall"
warning. (We use "memcpy()" everywhere else.) svn path=/trunk/; revision=73
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/follow.c b/follow.c
index 8a42705c2d..8de93a364a 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/* follow.c
*
- * $Id: follow.c,v 1.3 1998/10/10 03:32:09 gerald Exp $
+ * $Id: follow.c,v 1.4 1998/10/28 01:29:16 guy Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@ -142,7 +142,7 @@ reassemble_tcp( u_long sequence, u_long length, const char* data, int synflag, u
tmp_frag->data = (u_char *)malloc( length );
tmp_frag->seq = sequence;
tmp_frag->len = length;
- bcopy( data, tmp_frag->data, length );
+ memcpy( tmp_frag->data, data, length );
if( frags[src_index] ) {
tmp_frag->next = frags[src_index];
} else {