[asterisk-commits] eliel: branch group/data_api_gsoc2009 r206273 - in /team/group/data_api_gsoc2...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 13 15:59:41 CDT 2009


Author: eliel
Date: Mon Jul 13 15:59:37 2009
New Revision: 206273

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206273
Log:
Formatting change.


Modified:
    team/group/data_api_gsoc2009/main/data.c
    team/group/data_api_gsoc2009/tests/test_data.c

Modified: team/group/data_api_gsoc2009/main/data.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/main/data.c?view=diff&rev=206273&r1=206272&r2=206273
==============================================================================
--- team/group/data_api_gsoc2009/main/data.c (original)
+++ team/group/data_api_gsoc2009/main/data.c Mon Jul 13 15:59:37 2009
@@ -577,30 +577,34 @@
 		ast_debug(1, "%s ", node->name);
 
 		switch (root->type) {
-			case AST_DATA_POINTER:
-				ast_debug(1, " (pointer): %p\n", node->payload.ptr);
-				break;
-			case AST_DATA_STRING:
-				ast_debug(1, " (string)[%u]: \"%s\"", (unsigned int)strlen(node->payload.str), node->payload.str);
-				break;
-			case AST_DATA_CONTAINER:
-				__ast_data_print_debug(node, depth);
-				break;
-			case AST_DATA_INTEGER:
-				ast_debug(1, " (integer): %d\n", node->payload.sint);
-				break;
-			case AST_DATA_UNSIGNED_INTEGER:
-				ast_debug(1, " (unsigned integer): %u\n", node->payload.uint);
-				break;
-			case AST_DATA_DOUBLE:
-				ast_debug(1, " (double): %lf\n", node->payload.dbl);
-				break;
-			case AST_DATA_BOOLEAN:
-				ast_debug(1, " (boolean): %s\n", ((node->payload.boolean) ? "True" : "False"));
-				break;
-			case AST_DATA_IPADDR:
-				ast_debug(1, " (ipaddr): %s\n", ast_inet_ntoa(node->payload.ipaddr));
-				break;
+		case AST_DATA_POINTER:
+			ast_debug(1, " (pointer): %p\n", node->payload.ptr);
+			break;
+		case AST_DATA_STRING:
+			ast_debug(1, " (string)[%u]: \"%s\"",
+				(unsigned int) strlen(node->payload.str),
+				node->payload.str);
+			break;
+		case AST_DATA_CONTAINER:
+			__ast_data_print_debug(node, depth);
+			break;
+		case AST_DATA_INTEGER:
+			ast_debug(1, " (integer): %d\n", node->payload.sint);
+			break;
+		case AST_DATA_UNSIGNED_INTEGER:
+			ast_debug(1, " (unsigned integer): %u\n", node->payload.uint);
+			break;
+		case AST_DATA_DOUBLE:
+			ast_debug(1, " (double): %lf\n", node->payload.dbl);
+			break;
+		case AST_DATA_BOOLEAN:
+			ast_debug(1, " (boolean): %s\n",
+				((node->payload.boolean) ? "True" : "False"));
+			break;
+		case AST_DATA_IPADDR:
+			ast_debug(1, " (ipaddr): %s\n",
+				ast_inet_ntoa(node->payload.ipaddr));
+			break;
 		}
 
 		ao2_ref(node, -1);

Modified: team/group/data_api_gsoc2009/tests/test_data.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/tests/test_data.c?view=diff&rev=206273&r1=206272&r2=206273
==============================================================================
--- team/group/data_api_gsoc2009/tests/test_data.c (original)
+++ team/group/data_api_gsoc2009/tests/test_data.c Mon Jul 13 15:59:37 2009
@@ -215,7 +215,7 @@
 	struct ast_data_query query = {
 		.version = AST_DATA_QUERY_VERSION,
 		.path = "asterisk/application/app_queue",
-		.search = "app_queue/queues/queue/members/member/interface=Agent/3000"
+		.search = "app_queue/queues/queue/members/member/interface=Agent/3000,app_queue/queues/queue/members/member/interface=Agent/1000",
 	};
 
 	switch (cmd) {




More information about the asterisk-commits mailing list