summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-07-08 18:20:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-10-02 22:14:45 -0700
commit9b9f7c3cacc1d220962fab1b910c6d76e2cd8087 (patch)
treeeadfc8ac2e15dcdf111bbb25e065eef3b9fdf817 /server.c
parent5425131a498cdab54fbcfbae4991b22ebfa793ee (diff)
Convert remaining bcopy() calls to memcpy()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'server.c')
-rw-r--r--server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server.c b/server.c
index efeae56..3369460 100644
--- a/server.c
+++ b/server.c
@@ -203,9 +203,9 @@ SaveBytes(FD fd, const unsigned char *buf, long n)
}
/* now copy the new bytes onto the end of the old bytes */
- bcopy(/* from */ buf,
- /* to */ (CS[fd].SavedBytes + CS[fd].NumberofSavedBytes),
- /* count */ n);
+ memcpy(/* to */ (CS[fd].SavedBytes + CS[fd].NumberofSavedBytes),
+ /* from */ buf,
+ /* count */ n);
CS[fd].NumberofSavedBytes += n;
}