]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
whitespace cleanup (tabs not spaces)
authorKen Rice <krice@freeswitch.org>
Thu, 26 Feb 2009 18:28:26 +0000 (18:28 +0000)
committerKen Rice <krice@freeswitch.org>
Thu, 26 Feb 2009 18:28:26 +0000 (18:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12301 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_time.c

index f79e0bf31102f8e26e94d1474d7773dd8a5801ed..4852428f8fab901be8ed56075bb458001083c771 100644 (file)
@@ -99,11 +99,11 @@ static void do_sleep(switch_interval_time_t t)
 #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 @@ SWITCH_DECLARE(switch_status_t) switch_time_exp_tz_name(const char *tz, switch_t
 {
        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 @@ static void tztime(const time_t * const timep, const char *tzstring, struct tm *
        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 @@ static void tztime(const time_t * const timep, const char *tzstring, struct tm *
                }
                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;