summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/features.c b/main/features.c
index 308c4f60d..b1536837c 100644
--- a/main/features.c
+++ b/main/features.c
@@ -2567,9 +2567,9 @@ static void *do_parking_thread(void *ignore)
rfds = nrfds;
efds = nefds;
{
- struct timeval tv = ast_samp2tv(ms, 1000);
+ struct timeval wait = ast_samp2tv(ms, 1000);
/* Wait for something to happen */
- ast_select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &tv : NULL);
+ ast_select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &wait : NULL);
}
pthread_testcancel();
}