diff options
author | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-04 19:10:31 +0000 |
commit | 2c867c810ec96a5187bc204b3338d710ed027ff7 (patch) | |
tree | 33dd9c518d71db028c5ea690ace614ea768fb35d /lib/network.c | |
parent | f131d4ceedc8ad48d21543e72c41109c0de7adf0 (diff) | |
download | quagga-2c867c810ec96a5187bc204b3338d710ed027ff7.tar.bz2 quagga-2c867c810ec96a5187bc204b3338d710ed027ff7.tar.xz |
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; |