Replace striplt() with string_trim() in all the places VS Code simply decided not to.
[citadel.git] / webcit / roomops.c
index a5b019f5453545fd3d4d5667387fa0b3d78a0731..059eadf8071d9739f961b505eb570263fea2d6b0 100644 (file)
@@ -1179,7 +1179,7 @@ void netedit(void) {
                        for (i=0; i<num_addrs; ++i) {
                                strcpy(line, bstr("prefix"));
                                extract_token(buf, bstr("line"), i, ',', sizeof buf);
-                               striplt(buf);
+                               string_trim(buf);
                                strcat(line, buf);
                                strcat(line, bstr("suffix"));
                                serv_puts(line);