Merge pull request #10 from kristovschulz/remove-timeout-warning

mISDNcapid: remove irritating timeout warning
This commit is contained in:
Karsten Keil 2019-02-27 00:27:01 +01:00 committed by GitHub
commit d6818dd9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1016,9 +1016,9 @@ static void *BCthread(void *arg)
continue;
}
if (ret == 0) { /* timeout */
wprint("Bchannel%d %stimeout (release %spending) thread=%05d\n", bi->nr,
bi->got_timeout ? "2. " : "", bi->release_pending ? "" : "not ", bi->tid);
if (bi->release_pending) {
wprint("Bchannel%d %stimeout (release pending) thread=%05d\n", bi->nr,
bi->got_timeout ? "2. " : "", bi->tid);
if (bi->got_timeout) { /* 2 times */
bi->detached = 1;
ret = pthread_detach(bi->thread);