striplt() is now string_trim()
[citadel.git] / webcit-ng / server / room_functions.c
index 67b3e9082943ca78a952b0048e00c6d8fa9a3ff5..e18633a8be79e4d020a688b9a7f4dfee0edd87bc 100644 (file)
@@ -52,14 +52,14 @@ int match_etags(char *taglist, long msgnum) {
 
        for (i = 0; i < num_tags; ++i) {
                extract_token(tag, taglist, i, ',', sizeof tag);
-               striplt(tag);
+               string_trim(tag);
                char *lq = (strchr(tag, '"'));
                char *rq = (strrchr(tag, '"'));
                if (lq < rq) {                                  // has two double quotes
                        strcpy(rq, "");
                        strcpy(tag, ++lq);
                }
-               striplt(tag);
+               string_trim(tag);
                if (!strcmp(tag, "*")) {                        // wildcard match
                        return (1);
                }