aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_features.c')
-rwxr-xr-xres/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index d9cccc67b..c6fa6eeb5 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -964,7 +964,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
/* see if the timeout has been violated */
gettimeofday(&ended,NULL);
- if(ast_tvdiff_ms(&started, &ended) > timeout) {
+ if(ast_tvdiff_ms(&ended, &started) > timeout) {
state = AST_CONTROL_UNHOLD;
ast_log(LOG_NOTICE, "We exceeded our AT-timeout\n");
break; /*doh! timeout*/