X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.c;h=922f0675db24dda2dd6d56054a09cd09f990bedb;hb=d807dba09ef46a3ec070c946d12e299c7de69f7c;hp=aa6033c80889f0ba3abb1e60a4971f761cc9ece0;hpb=689f71293a14d88788c4a1a2edd8b03edb9d3e9c;p=citadel.git diff --git a/citadel/context.c b/citadel/context.c index aa6033c80..922f0675d 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -437,6 +437,7 @@ void CtdlFillSystemContext(CitContext *context, char *name) strcat (sysname, name); len = cutuserkey(sysname); memcpy(context->curr_user, sysname, len + 1); + context->client_socket = (-1); /* internal_create_user has the side effect of loading the user regardless of wether they * already existed or needed to be created