~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Static buffers: Replace references to bufs[b]
[secnet]
/
ipaddr.c
diff --git
a/ipaddr.c
b/ipaddr.c
index
b45afef
..
1506ae6
100644
(file)
--- a/
ipaddr.c
+++ b/
ipaddr.c
@@
-324,7
+324,7
@@
static char *ipaddr_getbuf(void)
b++;
b &= IPADDR_NBUFS-1;
- return
bufs[b]
;
+ return
SBUF
;
}
/* The string buffer must be at least 16 bytes long */