]> code.citadel.org Git - citadel.git/blobdiff - textclient/routines2.c
Grammar change in the license declaration.
[citadel.git] / textclient / routines2.c
index edf206dd16fc2dee69465e7f5ecb434d7631d533..10bd064042dce3302f1082e20bade0dbe6eaddff 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 1987-2017 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, and/or
-// disclosure are subject to the GNU General Purpose License version 3.
+// disclosure is subject to the GNU General Purpose License version 3.
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -109,8 +109,8 @@ void entregis(CtdlIPC * ipc) {
                if (r / 100 == 2) {
                        extract_token(diruser, buf, 0, '@', sizeof diruser);
                        extract_token(dirnode, buf, 1, '@', sizeof dirnode);
-                       striplt(diruser);
-                       striplt(dirnode);
+                       string_trim(diruser);
+                       string_trim(dirnode);
                        if ((strcasecmp(diruser, fullname))
                            || (strcasecmp(dirnode, ipc->ServInfo.nodename))) {
                                scr_printf("\nYou can't use %s as your address.\n", tmpemail);