Skip to content

Commit

Permalink
Address rest of Robert's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanie-wang committed Nov 14, 2016
1 parent a80f2ee commit 4e88f52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

#define CHECKM(COND, M, ...) \
if (!(COND)) { \
LOG_ERROR("Check failure: %s \n" M, #COND, ##__VA_ARGS__); \
LOG_FATAL("Check failure: %s \n" M, #COND, ##__VA_ARGS__); \
}

#define CHECK(COND) CHECKM(COND, "")
Expand Down
4 changes: 2 additions & 2 deletions src/common/state/table.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ int64_t table_timeout_handler(event_loop *loop,
if (callback_data->retry.num_retries == 0) {
/* We didn't get a response from the database after exhausting all retries;
* let user know, cleanup the state, and remove the timer. */
LOG_WARN("Table command %s with timer ID %ld failed", callback_data->label,
timer_id);
LOG_WARN("Table command %s with timer ID %" PRId64 " failed",
callback_data->label, timer_id);
if (callback_data->retry.fail_callback) {
callback_data->retry.fail_callback(
callback_data->id, callback_data->user_context, callback_data->data);
Expand Down

0 comments on commit 4e88f52

Please sign in to comment.