When creating system contexts, set the Context name.
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 24 Aug 2011 09:43:56 +0000 (11:43 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 24 Aug 2011 09:43:56 +0000 (11:43 +0200)
citadel/context.c

index 8e433c7a3b8dd198240eacf7c8fb50ee3cdcb403..c1c15449b12ebb3558e6d8415f75e3f89ec08d91 100644 (file)
@@ -524,6 +524,7 @@ void CtdlFillSystemContext(CitContext *context, char *name)
        memcpy(context->curr_user, sysname, len + 1);
        context->client_socket = (-1);
        context->state = CON_SYS;
+       context->ServiceName = name;
 
        /* internal_create_user has the side effect of loading the user regardless of wether they
         * already existed or needed to be created