]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
StrBufSipLine(): make input params const; fix several warnings about unused code.
[citadel.git] / libcitadel / lib / libcitadel.h
index 26fd283da0c41c0d5a7d7acd1b7823bf5f874739..802d3525745cb868e9afc517686fe4756bdadec4 100644 (file)
@@ -219,7 +219,7 @@ int StrBufTCP_read_buffered_line_fast(StrBuf *Line,
                                      int selectresolution, 
                                      const char **Error);
 
-int StrBufSipLine(StrBuf *LineBuf, StrBuf *Buf, const char **Ptr);
+int StrBufSipLine(StrBuf *LineBuf, const StrBuf *Buf, const char **Ptr);
 int StrBufReplaceToken(StrBuf *Buf, long where, long HowLong, const char *Repl, long ReplLen);
 int StrBufExtract_token(StrBuf *dest, const StrBuf *Source, int parmnum, char separator);
 int StrBufSub(StrBuf *dest, const StrBuf *Source, unsigned long Offset, size_t nChars);