removed CtdlClearSystemContext() entirely.
authorArt Cancro <ajc@uncensored.citadel.org>
Mon, 4 Apr 2011 19:57:58 +0000 (15:57 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 17:35:38 +0000 (17:35 +0000)
citadel/context.c
citadel/include/ctdl_module.h
citadel/sysdep.c

index a04198db2529c148f160096d8895e398550164fa..f4bf0cef404c17d28b642a578507e122cfb361ec 100644 (file)
@@ -547,16 +547,6 @@ void CtdlFillSystemContext(CitContext *context, char *name)
        }
 }
 
-/*
- * flush it again...
- */
-void CtdlClearSystemContext(void)
-{
-       CitContext *CCC = MyContext();
-
-       memset(CCC, 0, sizeof(CitContext));
-       pthread_setspecific(MyConKey, NULL);
-}
 
 /*
  * Cleanup any contexts that are left lying around
index b452f5c05e734b06bcba166ba996c823514a9b8a..3456a98e3d50991109be49af306c2df2c6d6e8a1 100644 (file)
@@ -158,7 +158,6 @@ void CtdlModuleStartCryptoMsgs(char *ok_response, char *nosup_response, char *er
  */
 struct CitContext *CtdlGetContextArray (int *count);
 void CtdlFillSystemContext(struct CitContext *context, char *name);
-void CtdlClearSystemContext(void);
 int CtdlTrySingleUser(void);
 void CtdlEndSingleUser(void);
 int CtdlWantSingleUser(void);
index ae46b479ea1ca9515c24bc84d973dd7e08478f5f..6c721e206e6301ee7f15803b504d964face30207 100644 (file)
@@ -1427,7 +1427,6 @@ void *select_on_master(void *blah)
                        }
                }
        }
-       CtdlClearSystemContext();
        return NULL;
 }