diff options
author | John Denker <jsd@av8n.com> | 2012-07-26 10:57:13 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-07-29 15:32:37 -0700 |
commit | 9aa998757a8736cef02fd92050eacbb2a6fb5180 (patch) | |
tree | 18ae3d172893279aecaf12df94cb468bf887aa72 /ucspi-tcp-0.88/stralloc_catb.c | |
parent | 6e8083ff4ffe3fd2b6d337386637a2b5c1378cf7 (diff) |
patch to support IPv6 in tcpserver
Diffstat (limited to 'ucspi-tcp-0.88/stralloc_catb.c')
-rw-r--r-- | ucspi-tcp-0.88/stralloc_catb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucspi-tcp-0.88/stralloc_catb.c b/ucspi-tcp-0.88/stralloc_catb.c index b739bed..b606e32 100644 --- a/ucspi-tcp-0.88/stralloc_catb.c +++ b/ucspi-tcp-0.88/stralloc_catb.c @@ -1,7 +1,7 @@ #include "stralloc.h" #include "byte.h" -int stralloc_catb(stralloc *sa,char *s,unsigned int n) +int stralloc_catb(stralloc *sa,const char *s,unsigned int n) { if (!sa->s) return stralloc_copyb(sa,s,n); if (!stralloc_readyplus(sa,n + 1)) return 0; |