From: Guus Sliepen Date: Thu, 7 Aug 2014 15:01:50 +0000 (+0200) Subject: Remove debug messages from meshlink_queue.h. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=3f6d9a24c1d4c78548bc9dab0e66e2a240a72df7;p=meshlink Remove debug messages from meshlink_queue.h. --- diff --git a/src/meshlink_queue.h b/src/meshlink_queue.h index a1f2524e..05b58d9a 100644 --- a/src/meshlink_queue.h +++ b/src/meshlink_queue.h @@ -38,7 +38,6 @@ typedef struct meshlink_queue_item { static inline bool meshlink_queue_push(meshlink_queue_t *queue, void *data) { meshlink_queue_item_t *item = malloc(sizeof *item); - fprintf(stderr, "Pushing %p %p %p\n", queue, item, data); if(!item) return false; item->data = data; @@ -63,7 +62,6 @@ static inline void *meshlink_queue_pop(meshlink_queue_t *queue) { } pthread_mutex_unlock(&queue->mutex); data = item ? item->data : NULL; - fprintf(stderr, "Popping %p %p %p\n", queue, item, data); free(item); return data; }