diff options
author | Artem Savkov <asavkov@redhat.com> | 2015-10-07 15:13:34 +0200 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-10-08 02:10:19 -0300 |
commit | 0b0bb4c68a1c87b8f77f266ea8e836758203f53e (patch) | |
tree | 4fb442d0354259c13f15aa2e2c52682f82d60ac3 /irc.h | |
parent | 098b4309df5fc7d55b2fee5229f3a0215d3cd3a5 (diff) |
Allow NULL callback functions in http_dorequest
Check callback function supplied to http_dorequest and only run it if it is
not NULL.
While it is not the usual case there are some times when there is no need to
check the results of a http request. Using a NULL pointer is much more
convenient than creating noop functions.
Diffstat (limited to 'irc.h')
0 files changed, 0 insertions, 0 deletions