summaryrefslogtreecommitdiff
path: root/mm-internal.h
diff options
context:
space:
mode:
authorLiao Tonglang <liaotonglang@gmail.com>2023-03-05 23:59:21 +0800
committerGitHub <noreply@github.com>2023-03-05 16:59:21 +0100
commit6bfa58055919a12acec070cdecef1bfb69f4e4d2 (patch)
tree8d831e0f74e2cd609879e8e8f6d89fb03d947386 /mm-internal.h
parent185e2f009bbffff9bfa2f4d633ddbea777ab111b (diff)
downloadlibevent-6bfa58055919a12acec070cdecef1bfb69f4e4d2.tar.gz
http: Reduce times of checking if response has body (#1395)
Use a variable 'need_body' to store the result of evhttp_response_needs_body(), then use the variable instead of call the function again.
Diffstat (limited to 'mm-internal.h')
0 files changed, 0 insertions, 0 deletions