diff options
author | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
commit | b04c699ecfb4704a67f4583e4ea929a6a3e49856 (patch) | |
tree | 9149adb41b7bc1acca6c882ab413f68b19b2a64d /lib/network.c | |
parent | 97c52f4e397848fb18c689dfe161d0b8f7803722 (diff) |
First small part of lib cleanup. Mainly "constification" of arguments and
adding FIXME's.
Diffstat (limited to 'lib/network.c')
-rw-r--r-- | lib/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network.c b/lib/network.c index d105db48..e1f733cf 100644 --- a/lib/network.c +++ b/lib/network.c @@ -50,7 +50,7 @@ readn (int fd, u_char *ptr, int nbytes) /* Write nbytes from ptr to fd. */ int -writen(int fd, u_char *ptr, int nbytes) +writen(int fd, const u_char *ptr, int nbytes) { int nleft; int nwritten; |