Fix typo
authorMark Spencer <markster@digium.com>
Fri, 21 Nov 2003 20:41:43 +0000 (20:41 +0000)
committerMark Spencer <markster@digium.com>
Fri, 21 Nov 2003 20:41:43 +0000 (20:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1777 65c4cc65-6c06-0410-ace0-fbb531ad65f3

sched.c

diff --git a/sched.c b/sched.c
index 2ab0a6b..391a627 100755 (executable)
--- a/sched.c
+++ b/sched.c
@@ -253,7 +253,7 @@ int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, vo
                        res = tmp->id;
                }
        }
-       ast_mutex_lock(&con->lock);
+       ast_mutex_unlock(&con->lock);
        return res;
 }