[asterisk-commits] seanbright: branch group/asterisk-cpp r168429 - /team/group/asterisk-cpp/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 10 21:56:31 CST 2009


Author: seanbright
Date: Sat Jan 10 21:56:30 2009
New Revision: 168429

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168429
Log:
Fix astobj2.c which I broke.

Modified:
    team/group/asterisk-cpp/main/astobj2.c

Modified: team/group/asterisk-cpp/main/astobj2.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/astobj2.c?view=diff&rev=168429&r1=168428&r2=168429
==============================================================================
--- team/group/asterisk-cpp/main/astobj2.c (original)
+++ team/group/asterisk-cpp/main/astobj2.c Sat Jan 10 21:56:30 2009
@@ -954,7 +954,11 @@
 	int i, lim;
 	char *obj;
 	static int prof_id = -1;
-	struct ast_cli_args fake_args = { a->fd, 0, NULL };
+	struct ast_cli_args fake_args;
+
+    fake_args.fd = a->fd;
+    fake_args.argc = 0;
+    fake_args.argv = NULL;
 
 	switch (cmd) {
 	case CLI_INIT:




More information about the asterisk-commits mailing list