diff -r 9823770ba4ee -r f2268fcbe487 src/server/daemon/log.c --- a/src/server/daemon/log.c Mon Mar 06 15:43:28 2017 +0100 +++ b/src/server/daemon/log.c Mon Mar 06 16:06:00 2017 +0100 @@ -242,11 +242,11 @@ pthread_mutex_unlock(&mutex); } -void log_remove_logdup(LogDup *dup) { +void log_remove_logdup(LogDup *ldup) { pthread_mutex_lock(&mutex); UcxList *elm = log_dup_list; while(elm) { - if(elm->data = dup) { + if(elm->data == ldup) { log_dup_list = ucx_list_remove(log_dup_list, elm); ws_atomic_dec32(&log_dup_count); break;