Revert new appendsize check for StrBufAppendBufPlain
authorMatt <matt@uncensored.citadel.org>
Wed, 17 Dec 2008 10:03:30 +0000 (10:03 +0000)
committerMatt <matt@uncensored.citadel.org>
Wed, 17 Dec 2008 10:03:30 +0000 (10:03 +0000)
libcitadel/lib/stringbuf.c

index 7a559085928f4a03b487a11ffb8ff9748622aef3..1f1b0cb61fb5e87415f8250edb84175078616106 100644 (file)
@@ -360,7 +360,7 @@ void StrBufAppendBufPlain(StrBuf *Buf, const char *AppendBuf, long AppendSize, u
        long aps;
        long BufSizeRequired;
 
-       if ((AppendBuf == NULL) || (Buf == NULL) || (AppendSize <= 0))
+       if ((AppendBuf == NULL) || (Buf == NULL))
                return;
 
        if (AppendSize < 0 )