aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-msgport.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-msgport.c')
-rw-r--r--e-util/e-msgport.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/e-util/e-msgport.c b/e-util/e-msgport.c
index eb6e07e24f..d7e3e02776 100644
--- a/e-util/e-msgport.c
+++ b/e-util/e-msgport.c
@@ -1,18 +1,17 @@
-
-#include <glib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
-
#include <stdio.h>
-#include "e-msgport.h"
-
#include <pthread.h>
+#include <glib.h>
+
+#include "e-msgport.h"
+
#define m(x) /* msgport debug */
#define t(x) /* thread debug */
@@ -357,7 +356,7 @@ void e_thread_destroy(EThread *e)
info = e->id_list->data;
if (!info->busy) {
e->id_list = g_list_remove(e->id_list, info);
- printf("cleaning up pool thread %d\n", info->id);
+ printf("cleaning up pool thread %ld\n", info->id);
pthread_mutex_unlock(&e->mutex);
if (pthread_cancel(info->id) == 0)
pthread_join(info->id, 0);