Merge remote-tracking branch 'origin/pr/356'

This commit is contained in:
Adam Sutton 2014-04-04 15:55:44 +01:00
commit 4f3d858859

View file

@ -1156,6 +1156,7 @@ cwc_thread(void *aux)
while(cwc->cwc_running && cwc->cwc_enabled == 0)
pthread_cond_wait(&cwc->cwc_cond, &cwc_mutex);
if (cwc->cwc_running == 0) continue;
snprintf(hostname, sizeof(hostname), "%s", cwc->cwc_hostname);
port = cwc->cwc_port;