[asterisk-commits] seanbright: branch group/asterisk-cpp r168450 - /team/group/asterisk-cpp/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jan 11 18:10:55 CST 2009
Author: seanbright
Date: Sun Jan 11 18:10:55 2009
New Revision: 168450
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168450
Log:
Get manager.c compiling
Modified:
team/group/asterisk-cpp/main/manager.c
Modified: team/group/asterisk-cpp/main/manager.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/manager.c?view=diff&rev=168450&r1=168449&r2=168450
==============================================================================
--- team/group/asterisk-cpp/main/manager.c (original)
+++ team/group/asterisk-cpp/main/manager.c Sun Jan 11 18:10:55 2009
@@ -954,7 +954,7 @@
* Use the explicit constant MSG_MOREDATA to remove the empty line.
* XXX MSG_MOREDATA should go to a header file.
*/
-#define MSG_MOREDATA ((const char *) astman_send_response)
+#define MSG_MOREDATA ((const char *) ((void (*)(struct mansession *, const struct message *, const char *, char *)) astman_send_response))
static void astman_send_response_full(struct mansession *s, const struct message *m, const char *resp, const char *msg, const char *listflag)
{
const char *id = astman_get_header(m, "ActionID");
@@ -989,7 +989,7 @@
static void astman_start_ack(struct mansession *s, const struct message *m)
{
- astman_send_response_full(s, m, "Success", (const char *) MSG_MOREDATA, NULL);
+ astman_send_response_full(s, m, "Success", MSG_MOREDATA, NULL);
}
void astman_send_listack(struct mansession *s, const struct message *m, const char *msg, const char *listflag)
More information about the asterisk-commits
mailing list