Renamed cutuserkey() to cutusername(). Function has nothing to do with keys.
[citadel.git] / citadel / context.c
index f5efd5c1c5c2781db643f91e5cd27fa024c93267..8b06ab5c811b1d352edd8c30673a2c6fdff45321 100644 (file)
@@ -568,7 +568,7 @@ void CtdlFillSystemContext(CitContext *context, char *name)
        context->cs_pid = 0;
        strcpy (sysname, "SYS_");
        strcat (sysname, name);
-       len = cutuserkey(sysname);
+       len = cutusername(sysname);
        memcpy(context->curr_user, sysname, len + 1);
        context->client_socket = (-1);
        context->state = CON_SYS;