diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-21 12:59:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-21 12:59:06 +0200 |
commit | 61ae7e9ce77af86a7290fca8bf73c9798f80845c (patch) | |
tree | cd3ccaee8029e162d973bc28ee3014ac1388aac9 /docs/libcurl/getinfo-times | |
parent | 838dd8f594dad1b13e89917ac5aa59794c44921d (diff) |
main: fix segfault
Follow-up to commit 5eb2396cd as that wasn't complete.
At times HEADERFUNCTION+HEADERDATA was set only to have only HEADERDATA
set in the subsequent loop which could cause a NULL to get sent as
userdata to 'header_callback' which wasn't made to handle that.
Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the
callback.
Diffstat (limited to 'docs/libcurl/getinfo-times')
0 files changed, 0 insertions, 0 deletions