This commit is contained in:
Devaev Maxim
2021-04-01 13:14:58 +03:00
parent cbc6145977
commit 7ce11fecb6
2 changed files with 2 additions and 2 deletions

View File

@@ -37,6 +37,8 @@
#include <sys/file.h>
#define RN "\r\n"
#define INLINE inline __attribute__((always_inline))
#define UNUSED __attribute__((unused))

View File

@@ -509,7 +509,6 @@ static void _http_callback_stream(struct evhttp_request *request, void *v_server
static void _http_callback_stream_write(struct bufferevent *buf_event, void *v_client) {
# define BOUNDARY "boundarydonotcross"
# define RN "\r\n"
stream_client_s *client = (stream_client_s *)v_client;
server_s *server = client->server;
@@ -634,7 +633,6 @@ static void _http_callback_stream_write(struct bufferevent *buf_event, void *v_c
bufferevent_enable(buf_event, EV_READ);
# undef ADD_ADVANCE_HEADERS
# undef RN
# undef BOUNDARY
}