[Freeswitch-svn] [commit] r12301 - freeswitch/trunk/src

FreeSWITCH SVN silik0n at freeswitch.org
Thu Feb 26 10:28:26 PST 2009


Author: silik0n
Date: Thu Feb 26 12:28:26 2009
New Revision: 12301

Log:
whitespace cleanup (tabs not spaces)

Modified:
   freeswitch/trunk/src/switch_time.c

Modified: freeswitch/trunk/src/switch_time.c
==============================================================================
--- freeswitch/trunk/src/switch_time.c	(original)
+++ freeswitch/trunk/src/switch_time.c	Thu Feb 26 12:28:26 2009
@@ -99,11 +99,11 @@
 #endif
 
 #if defined(DARWIN)
-    struct timespec ts;
-    ts.tv_sec = t / APR_USEC_PER_SEC;
-    ts.tv_nsec = (t % APR_USEC_PER_SEC) * 1000;
+	struct timespec ts;
+	ts.tv_sec = t / APR_USEC_PER_SEC;
+	ts.tv_nsec = (t % APR_USEC_PER_SEC) * 1000;
 	
-    nanosleep(&ts, NULL);
+	nanosleep(&ts, NULL);
 	sched_yield();
 #else
 	apr_sleep(t);
@@ -669,12 +669,12 @@
 {
 	struct tm xtm = { 0 };
 	const char *tz_name = tz;
-    const char *tzdef;
+	const char *tzdef;
 	time_t timep;
 	
 	if (!thetime) {
-        thetime = switch_micro_time_now();
-    }
+		thetime = switch_micro_time_now();
+	}
 
 	timep =  (thetime) / (int64_t) (1000000);
 
@@ -1648,14 +1648,14 @@
 	register const struct ttinfo 	*ttisp;
 
 	if ( tzstring == NULL )
-    	        tzstring = gmt;
+		tzstring = gmt;
 
 	tzptr = (struct state *) malloc(sizeof (struct state));
 	sp = tzptr;
 
 	if (tzptr != NULL) 
 	{
-    
+	
 		memset(tzptr, 0, sizeof(struct state));
 
 		(void) tzparse(tzstring, tzptr, FALSE);
@@ -1676,7 +1676,7 @@
 		}
 		ttisp = &sp->ttis[i];
 
-    		/*
+		/*
 		    To get (wrong) behavior that's compatible with System V Release 2.0
 		    you'd replace the statement below with
 		    t += ttisp->tt_gmtoff;



More information about the Freeswitch-svn mailing list