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) \
file->status = st; \
twc_tfer_file_update(profile->tfer, file);
#define TWC_TFER_FILE_UPDATE_STATUS(st) do { \
file->status = st; \
twc_tfer_file_update(profile->tfer, file); \
} while (0)
int
twc_do_timer_cb(const void *pointer, void *data, int remaining_calls)