[asterisk-commits] oej: branch group/edv-appleraisin-trunk r317669 - /team/group/edv-appleraisin...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri May 6 11:06:30 CDT 2011
Author: oej
Date: Fri May 6 11:06:26 2011
New Revision: 317669
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317669
Log:
Move the unlock into the non-realtime block.
Thanks, Micke Carlsson!
Modified:
team/group/edv-appleraisin-trunk/main/db.c
Modified: team/group/edv-appleraisin-trunk/main/db.c
URL: http://svnview.digium.com/svn/asterisk/team/group/edv-appleraisin-trunk/main/db.c?view=diff&rev=317669&r1=317668&r2=317669
==============================================================================
--- team/group/edv-appleraisin-trunk/main/db.c (original)
+++ team/group/edv-appleraisin-trunk/main/db.c Fri May 6 11:06:26 2011
@@ -358,8 +358,8 @@
data.size = strlen(value) + 1;
res = astdb->put(astdb, &key, &data, 0);
db_sync();
- }
- ast_mutex_unlock(&dblock);
+ ast_mutex_unlock(&dblock);
+ }
if (res)
ast_log(LOG_WARNING, "Unable to put value '%s' for key '%s' in family '%s'\n", value, keys, family);
return res;
More information about the asterisk-commits
mailing list