y_file_handler: change fileNameDateScore to avoid confict name func
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#include "list_t/list_t.h"
|
#include "list_t/list_t.h"
|
||||||
|
|
||||||
void fileNameDateScore(char* filename, char * pre, char* post,size_t score);
|
void y_fileNameDateScore(char* filename, char * pre, char* post,size_t score);
|
||||||
|
|
||||||
struct arg_send_file{
|
struct arg_send_file{
|
||||||
struct pollfd *fds;
|
struct pollfd *fds;
|
||||||
|
|||||||
@@ -459,7 +459,7 @@ int remove_content_from_headers(struct main_list_y_ptr_HEADER_T *m_head_l_t, y_p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void fileNameDateScore(char* filename, char * pre, char* post,size_t score){
|
void y_fileNameDateScore(char* filename, char * pre, char* post,size_t score){
|
||||||
// char *filename=malloc(256);
|
// char *filename=malloc(256);
|
||||||
time_t t = time(NULL);
|
time_t t = time(NULL);
|
||||||
struct tm tm = *localtime(&t);
|
struct tm tm = *localtime(&t);
|
||||||
|
|||||||
Reference in New Issue
Block a user