fix a minor typo from brian
authorJeremy McNamara <jj@nufone.net>
Sun, 7 Dec 2003 19:25:30 +0000 (19:25 +0000)
committerJeremy McNamara <jj@nufone.net>
Sun, 7 Dec 2003 19:25:30 +0000 (19:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1837 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_odbc.c

index 6c5e4a1..89dc34f 100755 (executable)
@@ -88,7 +88,7 @@ static int odbc_log(struct ast_cdr *cdr)
        if ((!clid) || (!dcontext) || (!channel) || (!dstchannel) || (!lastapp) || (!lastdata) || (!uniqueid))
        {
                ast_log(LOG_ERROR, "cdr_odbc:  Out of memory error (insert fails)\n");
-               ast_mutex_unlock(&odbc_locl);
+               ast_mutex_unlock(&odbc_lock);
                return -1;
        }