diff options
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,9 +1,8 @@ #include "iov_str.h" -void mog_http_resp0( - struct mog_http *, struct iovec *status, bool alive); +void mog_http_resp0(struct mog_fd *, struct iovec *status, bool alive); -#define mog_http_resp(http,conststr,alive) do { \ +#define mog_http_resp(mfd,conststr,alive) do { \ struct iovec statustmp; \ IOV_STR(&statustmp, (conststr)); \ - mog_http_resp0((http), &statustmp, (alive)); \ + mog_http_resp0((mfd), &statustmp, (alive)); \ } while (0) |