Skip to content

Commit

Permalink
Remove unused macro
Browse files Browse the repository at this point in the history
  • Loading branch information
const-t committed Sep 22, 2023
1 parent 73d3f45 commit dca009f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fw/http_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ int tfw_http_msg_hdr_xfrm_str(TfwHttpMsg *hm, const TfwStr *hdr,
int tfw_http_msg_hdr_xfrm(TfwHttpMsg *hm, char *name, size_t n_len,
char *val, size_t v_len, unsigned int hid, bool append);

#define TFW_HTTP_MSG_HDR_XFRM(hm, name, val, hid, append) \
tfw_http_msg_hdr_xfrm(hm, name, sizeof(name) - 1, val, \
sizeof(val) - 1, hid, append)
#define TFW_HTTP_MSG_HDR_DEL(hm, name, hid) \
tfw_http_msg_hdr_xfrm(hm, name, sizeof(name) - 1, NULL, 0, hid, 0)

int tfw_http_msg_del_str(TfwHttpMsg *hm, TfwStr *str);
int tfw_http_msg_cutoff_body_chunks(TfwHttpResp *resp);

Expand Down

0 comments on commit dca009f

Please sign in to comment.