[asterisk-commits] russell: trunk r63089 - /trunk/main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 4 12:48:53 MST 2007


Author: russell
Date: Fri May  4 14:48:52 2007
New Revision: 63089

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63089
Log:
Convert spaces to tabs for indentation.

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=63089&r1=63088&r2=63089
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri May  4 14:48:52 2007
@@ -2170,9 +2170,8 @@
 	const char *actionid = astman_get_header(m, "ActionID");
 	char idText[150];
 
-        if (!ast_strlen_zero(actionid)) {
-                snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
-        }
+	if (!ast_strlen_zero(actionid))
+		snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
 
 	astman_append(s, "Response: Success\r\n"
 			"%s"
@@ -2218,9 +2217,9 @@
 	char reloadtime[150];
 	struct tm tm;
 
-        if (!ast_strlen_zero(actionid)) {
-                snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
-        }
+	if (!ast_strlen_zero(actionid))
+		snprintf(idText, sizeof(idText), "ActionID: %s\r\n", actionid);
+
 	localtime_r(&ast_startuptime, &tm);
 	strftime(startuptime, sizeof(startuptime), "%H:%M:%S", &tm);
 	localtime_r(&ast_lastreloadtime, &tm);



More information about the asterisk-commits mailing list