Skip to content

Commit

Permalink
style: corrected indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Feb 19, 2024
1 parent c578778 commit d41009c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/dpp/discordevents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,18 +319,18 @@ void set_ts_not_null(const json* j, const char* keyname, time_t &v)
}
crossplatform_strptime(timedate.substr(0, 19).c_str(), "%Y-%m-%dT%T", &timestamp);
timestamp.tm_isdst = 0;
#ifndef _WIN32
retval = timegm(&timestamp);
#else
retval = _mkgmtime(&timestamp);
#endif
#ifndef _WIN32
retval = timegm(&timestamp);
#else
retval = _mkgmtime(&timestamp);
#endif
} else {
crossplatform_strptime(timedate.substr(0, 19).c_str(), "%Y-%m-%d %T", &timestamp);
#ifndef _WIN32
retval = timegm(&timestamp);
#else
retval = _mkgmtime(&timestamp);
#endif
#ifndef _WIN32
retval = timegm(&timestamp);
#else
retval = _mkgmtime(&timestamp);
#endif
}
v = retval;
}
Expand Down

0 comments on commit d41009c

Please sign in to comment.