[Freeswitch-svn] [commit] r5280 - freeswitch/trunk/src/include

Freeswitch SVN mikej at freeswitch.org
Thu Jun 7 13:03:00 EDT 2007


Author: mikej
Date: Thu Jun  7 13:02:59 2007
New Revision: 5280

Modified:
   freeswitch/trunk/src/include/switch_utils.h

Log:
indentation.

Modified: freeswitch/trunk/src/include/switch_utils.h
==============================================================================
--- freeswitch/trunk/src/include/switch_utils.h	(original)
+++ freeswitch/trunk/src/include/switch_utils.h	Thu Jun  7 13:02:59 2007
@@ -178,10 +178,14 @@
 #define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst))
 
 static inline char *switch_clean_string(char *s)
-{                                                                                                                                                                   char *p;
-
-    for (p = s; p && *p; p++) {                                                                                                                                         uint8_t x = (uint8_t) *p;                                                                                                                                       if (x < 32 || x > 127) {                                                                                                                                            *p = ' ';                                                                                                                                                   }
-    }
+{
+	char *p;
+	for (p = s; p && *p; p++) {
+		uint8_t x = (uint8_t) *p;
+		if (x < 32 || x > 127) {
+			*p = ' ';
+		}
+	}
 
 	return s;
 }



More information about the Freeswitch-svn mailing list