mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-18 08:15:14 +00:00
Regularly cleanup files in the httptemp directory (#343)
* Regularly cleanup files in the httptemp directory * Add scan http temp dir default configuration * Fix mem leak for scan httptemp dir * Modify int to gint64
This commit is contained in:
@@ -20,6 +20,13 @@ fileserver_config_get_integer(GKeyFile *config, char *key, GError **error)
|
||||
return g_key_file_get_integer (config, group, key, error);
|
||||
}
|
||||
|
||||
int
|
||||
fileserver_config_get_int64(GKeyFile *config, char *key, GError **error)
|
||||
{
|
||||
const char *group = get_group_name(config);
|
||||
return g_key_file_get_int64 (config, group, key, error);
|
||||
}
|
||||
|
||||
char *
|
||||
fileserver_config_get_string(GKeyFile *config, char *key, GError **error)
|
||||
{
|
||||
|
Reference in New Issue
Block a user