X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=textclient%2Fcitadel_ipc.c;h=f810edf001b4bec57052946659a45637787e25a9;hp=5b34772fcfc3a7be9a843e79a4aeb41060034815;hb=25220160fc09e185bbf9f13f7565bb568cc5a463;hpb=7b3427cfc9e6a143c3e6187b0f902335ea3cdcc0 diff --git a/textclient/citadel_ipc.c b/textclient/citadel_ipc.c index 5b34772fc..f810edf00 100644 --- a/textclient/citadel_ipc.c +++ b/textclient/citadel_ipc.c @@ -1957,28 +1957,6 @@ int CtdlIPCEnterSystemMessage(CtdlIPC * ipc, const char *filename, const char *t } -/* UCHG */ -int CtdlIPCChangeUsername(CtdlIPC * ipc, const char *username, char *cret) -{ - int ret; - char *aaa; - - if (!cret) - return -2; - if (!username) - return -2; - - aaa = (char *) malloc(strlen(username) + 6); - if (!aaa) - return -1; - - sprintf(aaa, "UCHG %s", username); - ret = CtdlIPCGenericCommand(ipc, aaa, NULL, 0, NULL, NULL, cret); - free(aaa); - return ret; -} - - /* TIME */ /* This function returns the actual server time reported, or 0 if error */ time_t CtdlIPCServerTime(CtdlIPC * ipc, char *cret)