summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 14:18:31 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 14:18:31 +0000
commit899abf342dbbf8fcf124ed0858b96ea50148b02b (patch)
tree05f3660ac90933f9aba6234501da3f5b11aed1e3 /uhttpd.h
parent14589b1ba9103e2d5c2e08e1514690f957a43513 (diff)
downloaduhttpd-899abf342dbbf8fcf124ed0858b96ea50148b02b.tar.gz
[package] uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@27686 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/uhttpd.h b/uhttpd.h
index ff058d6..993bf93 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -98,7 +98,7 @@ struct config {
int (*tls_cert) (SSL_CTX *c, const char *file);
int (*tls_key) (SSL_CTX *c, const char *file);
void (*tls_free) (struct listener *l);
- void (*tls_accept) (struct client *c);
+ int (*tls_accept) (struct client *c);
void (*tls_close) (struct client *c);
int (*tls_recv) (struct client *c, void *buf, int len);
int (*tls_send) (struct client *c, void *buf, int len);
@@ -159,4 +159,3 @@ struct interpreter {
#endif
#endif
-