FossilOrigin-Name: c164d7a14c9105aef9159e8b1403c6cf9433f50e645d30e00d5df622a849efc3
This commit is contained in:
nekobit 2022-10-16 04:39:52 +00:00
parent fcd5abc7a8
commit 0dfa6560c0

View file

@ -29,10 +29,10 @@ extern pthread_mutex_t print_mutex;
#else
#define PRINTF(str, ...) do { pthread_mutex_lock(&print_mutex); \
FCGX_FPrintF(req->out, str, __VA_ARGS__); \
pthread_mutex_unlock(&print_mutex); } while (1);
pthread_mutex_unlock(&print_mutex); } while (0);
#define PUT(str) do { pthread_mutex_lock(&print_mutex); \
FCGX_FPrintF(req->out, str); \
pthread_mutex_unlock(&print_mutex); } while (1);
pthread_mutex_unlock(&print_mutex); } while (0);
#define REQUEST_T FCGX_Request*
#endif