Fix multi-line macro definition

This commit is contained in:
Håvard Pettersson 2018-12-22 20:27:42 +01:00
parent 93538e1fef
commit 5223c2c24b

View File

@ -38,9 +38,10 @@
#include "twc-tox-callbacks.h"
#define TWC_TFER_FILE_UPDATE_STATUS(st) \
#define TWC_TFER_FILE_UPDATE_STATUS(st) do { \
file->status = st; \
twc_tfer_file_update(profile->tfer, file);
twc_tfer_file_update(profile->tfer, file); \
} while (0)
int
twc_do_timer_cb(const void *pointer, void *data, int remaining_calls)