Format code correctly
This commit is contained in:
@@ -240,7 +240,7 @@ _rotate_log_file(void)
|
||||
gchar* log_file_new = malloc(len + 4);
|
||||
|
||||
// find an empty name. from .log -> log.01 -> log.99
|
||||
for (int i=1; i < 100; i++) {
|
||||
for (int i = 1; i < 100; i++) {
|
||||
g_sprintf(log_file_new, "%s.%02d", log_file, i);
|
||||
if (!g_file_test(log_file_new, G_FILE_TEST_EXISTS))
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user