]> code.citadel.org Git - citadel.git/blobdiff - webcit/sysdep.c
Performed a bunch of markup fixes suggested by validator.w3.org
[citadel.git] / webcit / sysdep.c
index fbe16ca0ac61b574c5279d060eed5f40dcf26621..4611dffea36a62ca0ef013d61153ea3f08a9cd65 100644 (file)
@@ -1,11 +1,9 @@
 /*
- * $Id$
- *
  * WebCit "system dependent" code.
  *
  * Copyright (c) 1996-2010 by the citadel.org team
  *
- * This program is free software; you can redistribute it and/or modify
+ * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
@@ -204,6 +202,8 @@ void worker_entry(void)
                }
                if (ssock < 0 ) continue;
 
+               check_thread_pool_size();
+
                /* Now do something. */
                if (msock < 0) {
                        if (ssock > 0) close (ssock);
@@ -429,8 +429,6 @@ void spawn_another_worker_thread()
        pthread_attr_t attr;    /* Thread attributes */
        int ret;
 
-       lprintf(3, "Creating a new thread.\n");
-
        ++num_threads_existing;
        ++num_threads_executing;