]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
indentation.
authorMichael Jerris <mike@jerris.com>
Thu, 7 Jun 2007 17:02:59 +0000 (17:02 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 7 Jun 2007 17:02:59 +0000 (17:02 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5280 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_utils.h

index 425d615c55f7020054105840b932c0583e4585f6..8d11bbe95d3abb28bd6bf939ce214defc0d327ee 100644 (file)
@@ -178,10 +178,14 @@ switch_mutex_unlock(obj->flag_mutex);
 #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;
 }