[svn-commits] rmudgett: branch 12 r420836 - /branches/12/res/stasis/command.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 11 15:42:50 CDT 2014


Author: rmudgett
Date: Mon Aug 11 15:42:44 2014
New Revision: 420836

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420836
Log:
res/stasis/command.c: Fix recent commit using spaces instead of tabs.

Modified:
    branches/12/res/stasis/command.c

Modified: branches/12/res/stasis/command.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/stasis/command.c?view=diff&rev=420836&r1=420835&r2=420836
==============================================================================
--- branches/12/res/stasis/command.c (original)
+++ branches/12/res/stasis/command.c Mon Aug 11 15:42:44 2014
@@ -100,8 +100,8 @@
 }
 
 static const struct ast_datastore_info command_queue_prestart = {
-        .type = "stasis-command-prestart-queue",
-        .destroy = command_queue_prestart_destroy,
+	.type = "stasis-command-prestart-queue",
+	.destroy = command_queue_prestart_destroy,
 };
 
 int command_prestart_queue_command(struct ast_channel *chan,
@@ -116,15 +116,14 @@
 		return -1;
 	}
 
-        datastore = ast_channel_datastore_find(chan, &command_queue_prestart, NULL);
-        if (datastore) {
+	datastore = ast_channel_datastore_find(chan, &command_queue_prestart, NULL);
+	if (datastore) {
 		command_queue = datastore->data;
 		ao2_link(command_queue, command);
-                return 0;
-        }
+		return 0;
+	}
 
-	command_queue = ao2_container_alloc_list(
-                AO2_ALLOC_OPT_LOCK_MUTEX, 0, NULL, NULL);
+	command_queue = ao2_container_alloc_list(AO2_ALLOC_OPT_LOCK_MUTEX, 0, NULL, NULL);
 	if (!command_queue) {
 		return -1;
 	}
@@ -144,7 +143,8 @@
 
 struct ao2_container *command_prestart_get_container(struct ast_channel *chan)
 {
-        struct ast_datastore *datastore = ast_channel_datastore_find(chan, &command_queue_prestart, NULL);
+	struct ast_datastore *datastore = ast_channel_datastore_find(chan, &command_queue_prestart, NULL);
+
 	if (!datastore) {
 		return NULL;
 	}




More information about the svn-commits mailing list