diff --git a/src/syncterm/conn.c b/src/syncterm/conn.c index 04ef7cdc2e9b04372e3cf11f38a7b1455152fad8..91574ee55dd37b23a84af14d73e4c524d2042c0e 100644 --- a/src/syncterm/conn.c +++ b/src/syncterm/conn.c @@ -220,7 +220,7 @@ size_t conn_buf_wait_cond(struct conn_buffer *buf, size_t bcount, unsigned long } if(sem_trywait_block(sem, timeleft)) retnow=1; - pthread_mutex_lock(&(buf->mutex)); + pthread_mutex_lock(&(buf->mutex)); /* term.c data_waiting() blocks here, seemingly forever */ found=cond(buf); if(found > bcount) found=bcount;