/*
- * $Id: protos.h,v 1.426 2002/02/17 00:38:22 hno Exp $
+ * $Id: protos.h,v 1.427 2002/02/17 01:08:13 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#define strSet(s,ptr,ch) (s).buf[ptr-(s).buf] = (ch)
#define strCut(s,pos) (((s).len = pos) , ((s).buf[pos] = '\0'))
#define strCutPtr(s,ptr) (((s).len = (ptr)-(s).buf) , ((s).buf[(s).len] = '\0'))
-#define strCat(s,str) stringAppend(&(s), (str), strlen(str)+1)
+#define strCat(s,str) stringAppend(&(s), (str), strlen(str))
extern void stringInit(String * s, const char *str);
extern void stringLimitInit(String * s, const char *str, int len);
extern String stringDup(const String * s);