Match-id-5128b44decd630bd285612cfb1aba44e8e75ed36

This commit is contained in:
BianTanggui
2021-07-07 15:40:59 +08:00
parent 3ddbe2299d
commit eec42515d8

View File

@@ -7,6 +7,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "securec.h"
#include "basic.h"
#define FILE_MAX_SIZE (1024 * 1024 * 10)
@@ -16,7 +17,7 @@
#define MONTH_OFFSET 1
#define LEVEL_LENGTH 20
int GetCurrentLocalTime(const char* buffer, int length)
int GetCurrentLocalTime(char* buffer, int length)
{
time_t rawtime;
struct tm* timeinfo = NULL;