From 27dfdd0b1256ebde19cd2a0f008c6a2a2c83f2b3 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Mon, 11 Jul 2005 20:46:25 +0000 Subject: reverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between the arguments git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6083 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_features.c') 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*/ -- cgit v1.2.3