aboutsummaryrefslogtreecommitdiffstats
path: root/sched.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-21 20:41:43 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-11-21 20:41:43 +0000
commit496a957b57e9b091231145c0aeec5ff0c75aa550 (patch)
tree22b79434859a9414880f1b136fb971785225edba /sched.c
parent702c2894d7d2e675b36797045e88e483f1391580 (diff)
Fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1777 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sched.c')
-rwxr-xr-xsched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sched.c b/sched.c
index 2ab0a6bc1..391a627c5 100755
--- 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;
}