* const this one too...
authorWilfried Göesgens <willi@citadel.org>
Sat, 20 Dec 2008 18:26:18 +0000 (18:26 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 20 Dec 2008 18:26:18 +0000 (18:26 +0000)
libcitadel/lib/libcitadel.h
libcitadel/lib/tools.c

index f69003bee6831e9fe6f0963d13f1ad86e406f6bc..126654bb55582fc2ede6bd7ea283a0f4884d2a59 100644 (file)
@@ -339,7 +339,7 @@ void generate_uuid(char *buf);
 char *bmstrcasestr(char *text, char *pattern);
 void CtdlMakeTempFileName(char *name, int len);
 char *rfc2047encode(char *line, long length);
-int is_msg_in_mset(char *mset, long msgnum);
+int is_msg_in_mset(const char *mset, long msgnum);
 int pattern2(char *search, char *patn);
 void stripltlen(char *, int *);
 char *html_to_ascii(char *inputmsg, int msglen, int screenwidth, int do_citaformat);
index 142df442faf33e5c2b56c8b9abee73bbfd2971d9..48a55fdf87ffc73a67d40d8e0153c38c5d63c290 100644 (file)
@@ -847,7 +847,7 @@ void CtdlMakeTempFileName(char *name, int len) {
  * Determine whether the specified message number is contained within the specified set.
  * Returns nonzero if the specified message number is in the specified message set string.
  */
-int is_msg_in_mset(char *mset, long msgnum) {
+int is_msg_in_mset(const char *mset, long msgnum) {
        int num_sets;
        int s;
        char setstr[SIZ], lostr[SIZ], histr[SIZ];       /* was 1024 */