static void stop_mq_client () { if (applet->mqclient_proc) { ccnet_mqclient_proc_unsubscribe_apps (applet->mqclient_proc); applet->mqclient_proc = NULL; } }
static void stop_mq_client () { if (ctl->mqclient_proc) { seaf_message ("stopping mq client ...\n"); ccnet_mqclient_proc_unsubscribe_apps (ctl->mqclient_proc); ctl->mqclient_proc = NULL; } }