Stupid us....mutex_UNLOCK!!!!!!

This commit is contained in:
dcp1990 2005-06-18 03:26:08 +00:00
parent 42059bea9b
commit c468ea0a62

View File

@ -81,7 +81,7 @@ void stmod(str)
} else {
pthread_mutex_lock(&modemmx);
write(modemfd, str, strlen(str) + 1);
pthread_mutex_lock(&modemmx);
pthread_mutex_unlock(&modemmx);
}
}
void give_me_modem(str) /* warning: deprecated! */