X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Froutines2.c;h=a5225b027aa185da52dd221e1fc45b688b2f2b3e;hb=HEAD;hp=edf206dd16fc2dee69465e7f5ecb434d7631d533;hpb=8b537f8d15f353c4a1a97d18bf2aef0a045e6b29;p=citadel.git diff --git a/textclient/routines2.c b/textclient/routines2.c index edf206dd1..de1f2db1f 100644 --- a/textclient/routines2.c +++ b/textclient/routines2.c @@ -2,13 +2,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. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License version 3. #include "textclient.h" @@ -109,8 +103,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);