]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/xmpp/xmpp_queue.c
Completed the removal of $Id$ tags in the Citadel server. Also, since the strings...
[citadel.git] / citadel / modules / xmpp / xmpp_queue.c
index 3bd8c95d7bdf2d871c22b988a1242e88f833a20e..811f2645230ea37b3f1af3359aa321b362c0c0fd 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$ 
- *
  * XMPP event queue
  *
  * Copyright (c) 2007-2009 by Art Cancro
@@ -113,7 +111,7 @@ void xmpp_queue_event(int event_type, char *email_addr) {
        begin_critical_section(S_SESSION_TABLE);
        for (cptr = ContextList; cptr != NULL; cptr = cptr->next) {
                if ((cptr->logged_in) && (cptr->h_async_function == xmpp_async_loop)) {
-                       cptr->async_waiting = 1;
+                       set_async_waiting(cptr);
                }
        }
        end_critical_section(S_SESSION_TABLE);