Navigation Menu

Skip to content

Commit

Permalink
Fix wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 17, 2015
1 parent 9fa721f commit b8ed399
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/logger.c
Expand Up @@ -54,8 +54,8 @@ rotate_log_file(grn_ctx *ctx, const char *current_path)
static char *default_logger_path = NULL;
static FILE *default_logger_file = NULL;
static grn_critical_section default_logger_lock;
static size_t default_logger_size = 0;
static size_t default_logger_rotate_size_threshold = 0;
static off_t default_logger_size = 0;
static off_t default_logger_rotate_size_threshold = 0;

#define LOGGER_NEED_ROTATE(size, threshold) \
((threshold) > 0 && (size) >= (threshold))
Expand Down Expand Up @@ -323,8 +323,8 @@ grn_logger_fin(grn_ctx *ctx)
static char *default_query_logger_path = NULL;
static FILE *default_query_logger_file = NULL;
static grn_critical_section default_query_logger_lock;
static size_t default_query_logger_size = 0;
static size_t default_query_logger_rotate_size_threshold = 0;
static off_t default_query_logger_size = 0;
static off_t default_query_logger_rotate_size_threshold = 0;

static void
default_query_logger_log(grn_ctx *ctx, unsigned int flag,
Expand Down

0 comments on commit b8ed399

Please sign in to comment.