Clear high res value
authorMark Spencer <markster@digium.com>
Tue, 26 Aug 2003 05:21:22 +0000 (05:21 +0000)
committerMark Spencer <markster@digium.com>
Tue, 26 Aug 2003 05:21:22 +0000 (05:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1440 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_agent.c

index 39f2cba..48708ec 100755 (executable)
@@ -1227,6 +1227,7 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode)
                                                                        ast_mutex_lock(&p->lock);
                                                                        check_availability(p, 0);
                                                                        ast_mutex_unlock(&p->lock);
+                                                                       res = 0;
                                                                }
                                                                sched_yield();
                                                        }