# HG changeset patch # User Mark Doliner # Date 1091986676 0 # Node ID 242a5a97c9522db46092f211b08a764b778302f2 # Parent 6b5bd8ee11dbdbae3a1220df84634900a13a1579 [gaim-migrate @ 10586] Fix an indentation oopsie. committer: Tailor Script diff -r 6b5bd8ee11db -r 242a5a97c952 src/util.c --- a/src/util.c Sun Aug 08 17:15:45 2004 +0000 +++ b/src/util.c Sun Aug 08 17:37:56 2004 +0000 @@ -536,20 +536,20 @@ if (!sscanf(c, "%02d", &t->tm_mday)) return 0; c += 2; if (*c == 'T' || *c == '.') { /* we have more than a date, keep going */ - c++; /* skip the "T" */ - - /* 2 digit hour */ - if (sscanf(c, "%02d:%02d:%02d", &t->tm_hour, &t->tm_min, &t->tm_sec) == 3 || - sscanf(c, "%02d%02d%02d", &t->tm_hour, &t->tm_min, &t->tm_sec) == 3) { - int tzhrs, tzmins; - c += 8; - if (*c == '.') /* dealing with precision we don't care about */ - c += 4; - if ((*c == '+' || *c == '-') && - sscanf(c+1, "%02d:%02d", &tzhrs, &tzmins)) { - tzoff = tzhrs*60*60 + tzmins*60; - if (*c == '+') - tzoff *= -1; + c++; /* skip the "T" */ + + /* 2 digit hour */ + if (sscanf(c, "%02d:%02d:%02d", &t->tm_hour, &t->tm_min, &t->tm_sec) == 3 || + sscanf(c, "%02d%02d%02d", &t->tm_hour, &t->tm_min, &t->tm_sec) == 3) { + int tzhrs, tzmins; + c += 8; + if (*c == '.') /* dealing with precision we don't care about */ + c += 4; + if ((*c == '+' || *c == '-') && + sscanf(c+1, "%02d:%02d", &tzhrs, &tzmins)) { + tzoff = tzhrs*60*60 + tzmins*60; + if (*c == '+') + tzoff *= -1; } if (tzoff || utc) {