striplt() is now string_trim()
[citadel.git] / citadel / server / modules / xmpp / xmpp_messages.c
index 45e4822b0d88ed384253f59a85d1b93f7877a30a..219f8efdda9017712a58a5e7f50c7da6898da4f4 100644 (file)
@@ -61,7 +61,7 @@ void xmpp_output_incoming_messages(void) {
                        xmlesc(xmlbuf2, ptr->sender_email, sizeof xmlbuf2)
                );
                if (ptr->text != NULL) {
-                       striplt(ptr->text);
+                       string_trim(ptr->text);
                        cprintf("<body>%s</body>", xmlesc(xmlbuf1, ptr->text, sizeof xmlbuf1));
                        free(ptr->text);
                }