Increased the load average before strangling the server. Its now 10.00
[citadel.git] / citadel / sysdep.c
index 3ddc662aa549ca65b29d22242ea6c9e66708220c..14ddb62e6cc0fe6edad49fcb7fdf5cfb6397b815 100644 (file)
@@ -120,7 +120,7 @@ void vCtdlLogPrintf(enum LogLevel loglevel, const char *format, va_list arg_ptr)
                struct timeval tv;
                struct tm tim;
                time_t unixtime;
-               struct CitContext *CCC = CC;
+               CitContext *CCC = CC;
 
                gettimeofday(&tv, NULL);
                /* Promote to time_t; types differ on some OSes (like darwin) */
@@ -450,7 +450,7 @@ int client_write(char *buf, int nbytes)
        int old_buffer_len = 0;
 #endif
        fd_set wset;
-       t_context *Ctx;
+       CitContext *Ctx;
        int fdflags;
 
        Ctx = CC;
@@ -868,11 +868,11 @@ int convert_login(char NameToConvert[]) {
 void *worker_thread(void *arg) {
        int i;
        int highest;
-       struct CitContext *ptr;
-       struct CitContext *bind_me = NULL;
+       CitContext *ptr;
+       CitContext *bind_me = NULL;
        fd_set readfds;
        int retval = 0;
-       struct CitContext *con= NULL;   /* Temporary context pointer */
+       CitContext *con= NULL;  /* Temporary context pointer */
        struct ServiceFunctionHook *serviceptr;
        int ssock;                      /* Descriptor for client socket */
        struct timeval tv;