projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give the main context a type instead of making it void *
[project/ustream-ssl.git]
/
ustream-ssl.c
diff --git
a/ustream-ssl.c
b/ustream-ssl.c
index
b182308
..
4526db0
100644
(file)
--- a/
ustream-ssl.c
+++ b/
ustream-ssl.c
@@
-164,7
+164,7
@@
static void ustream_ssl_stream_init(struct ustream_ssl *us)
ustream_init_defaults(s);
}
ustream_init_defaults(s);
}
-static int _ustream_ssl_init(struct ustream_ssl *us, struct ustream *conn,
void
*ctx, bool server)
+static int _ustream_ssl_init(struct ustream_ssl *us, struct ustream *conn,
struct ustream_ssl_ctx
*ctx, bool server)
{
us->error_timer.cb = ustream_ssl_error_cb;
us->server = server;
{
us->error_timer.cb = ustream_ssl_error_cb;
us->server = server;