summaryrefslogtreecommitdiff
path: root/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'db.c')
-rwxr-xr-xdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/db.c b/db.c
index b42fe4b7c..78142f075 100755
--- a/db.c
+++ b/db.c
@@ -565,7 +565,6 @@ static int manager_dbget(struct mansession *s, struct message *m)
astman_send_error(s, m, "Database entry not found");
} else {
astman_send_ack(s, m, "Result will follow");
- ast_mutex_lock(&s->lock);
ast_cli(s->fd, "Event: DBGetResponse\r\n"
"Family: %s\r\n"
"Key: %s\r\n"
@@ -573,7 +572,6 @@ static int manager_dbget(struct mansession *s, struct message *m)
"%s"
"\r\n",
family, key, tmp, idText);
- ast_mutex_unlock(&s->lock);
}
return 0;
}