changeset 5 | a09a0797f6f0 |
parent 4 | a3ca0f97a075 |
child 8 | be88e543c8ff |
4:a3ca0f97a075 | 5:a09a0797f6f0 |
---|---|
5 #include <assert.h> |
5 #include <assert.h> |
6 |
6 |
7 err_t sock_init (struct error_info *err) |
7 err_t sock_init (struct error_info *err) |
8 { |
8 { |
9 // XXX: just call these all directly for now |
9 // XXX: just call these all directly for now |
10 if (sock_gnutls_init(err)) |
10 if (sock_gnutls_global_init(err)) |
11 return ERROR_CODE(err); |
11 return ERROR_CODE(err); |
12 |
12 |
13 // done |
13 // done |
14 return SUCCESS; |
14 return SUCCESS; |
15 } |
15 } |