Fix DBget (bug #3603)
authorMark Spencer <markster@digium.com>
Wed, 16 Feb 2005 03:54:08 +0000 (03:54 +0000)
committerMark Spencer <markster@digium.com>
Wed, 16 Feb 2005 03:54:08 +0000 (03:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

db.c

diff --git a/db.c b/db.c
index e434a39..1c88c49 100755 (executable)
--- a/db.c
+++ b/db.c
@@ -526,8 +526,7 @@ 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");
-               manager_event(EVENT_FLAG_COMMAND,
-                               "DBGetResponse",
+               ast_cli(s->fd, "Event: DBGetResponse\r\n"
                                "Family: %s\r\n"
                                "Key: %s\r\n"
                                "Val: %s\r\n",