chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ 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.git]
/
ipaddr.c
diff --git
a/ipaddr.c
b/ipaddr.c
index b45afef1a36829d2c838c0bf14b2901948568ed8..1506ae63601f9e8d9c324f9c49d97fc0fef3f7f2 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 */