]> code.citadel.org Git - citadel.git/blobdiff - citadel/context.c
Remove comment about site configurable setting in a place where we already made it...
[citadel.git] / citadel / context.c
index 4e8594d785d4dbbcc83cfe66de4beeacfeab48bb..385f9a7790f3b51fc58446f3da8388c44b700f7a 100644 (file)
@@ -347,7 +347,7 @@ CitContext *CreateNewContext(void) {
 
        me = (CitContext *) malloc(sizeof(CitContext));
        if (me == NULL) {
-               syslog(LOG_ERR, "citserver: malloc() failed: %s", strerror(errno));
+               syslog(LOG_ERR, "citserver: malloc() failed: %m");
                return NULL;
        }
        memset(me, 0, sizeof(CitContext));
@@ -396,7 +396,7 @@ CitContext *CloneContext(CitContext *CloneMe) {
 
        me = (CitContext *) malloc(sizeof(CitContext));
        if (me == NULL) {
-               syslog(LOG_ERR, "citserver: malloc() failed: %s", strerror(errno));
+               syslog(LOG_ERR, "citserver: malloc() failed: %m");
                return NULL;
        }
        memcpy(me, CloneMe, sizeof(CitContext));
@@ -587,10 +587,10 @@ void CtdlFillSystemContext(CitContext *context, char *name)
        context->state = CON_SYS;
        context->ServiceName = name;
 
-       /* internal_create_user has the side effect of loading the user regardless of wether they
+       /* internal_create_user has the side effect of loading the user regardless of whether they
         * already existed or needed to be created
         */
-       internal_create_user (sysname, len, &(context->user), -1) ;
+       internal_create_user(sysname, &(context->user), -1) ;
        
        /* Check to see if the system user needs upgrading */
        if (context->user.usernum == 0)