aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorSam Roth <s-roth@onu.edu>2015-08-18 14:42:18 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-08-19 10:35:24 +0200
commite67e71d62b6e3f90678631004a6c267ca72df1cd (patch)
tree1d030f031e6575f7acc821be948bdaec841f8caf /docs/libcurl
parent618dfd65e4915fbd71247a960ef15e6c281d4fec (diff)
CURLMOPT_PUSHFUNCTION.3: fix argument types
Closes #389 Closes #386
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
index d0468ec15..033f71a72 100644
--- a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
+++ b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
@@ -27,8 +27,8 @@ CURLMOPT_PUSHFUNCTION \- callback that approves or denies server pushes
.nf
#include <curl/curl.h>
-char *curl_pushheader_bynum(push_headers, int num);
-char *curl_pushheader_byname(push_headers, const char *name);
+char *curl_pushheader_bynum(struct curl_pushheaders *h, size_t num);
+char *curl_pushheader_byname(struct curl_pushheaders *h, const char *name);
int curl_push_callback(CURL *parent,
CURL *easy,