* const mset pointer, as we don't need to write on it.
[citadel.git] / libcitadel / lib / tools.c
index 66b85ad2351d831ea5dea8b9643482f9b1c7a392..142df442faf33e5c2b56c8b9abee73bbfd2971d9 100644 (file)
@@ -555,7 +555,7 @@ void fmt_date(char *buf, size_t n, time_t thetime, int seconds) {
  * Determine whether the specified message number is contained within the
  * specified sequence set.
  */
-int is_msg_in_sequence_set(char *mset, long msgnum) {
+int is_msg_in_sequence_set(const char *mset, long msgnum) {
        int num_sets;
        int s;
        char setstr[128], lostr[128], histr[128];