Bug #3452 ยป ceph-fix-gmtime-use.diff
src/rgw/rgw_rest.cc | ||
---|---|---|
{
|
||
char timestr[TIME_BUF_SIZE];
|
||
struct tm *tmp = gmtime(&t);
|
||
struct tm result;
|
||
struct tm *tmp = gmtime_r(&t, &result);
|
||
if (tmp == NULL)
|
||
return;
|
||