diff options
author | Nikos <nmav@crystal.(none)> | 2007-11-28 20:46:08 +0200 |
---|---|---|
committer | Nikos <nmav@crystal.(none)> | 2007-11-28 20:46:08 +0200 |
commit | a05d9548df39c534cb736266e6d651548fefcc19 (patch) | |
tree | 17741c663d7a01a4249c1ef44e205b45cdab5dae /lib/gnutlsxx.cpp | |
parent | 943769c78a74f09398a1b7171a5fdc620cae3bb1 (diff) | |
download | gnutls-a05d9548df39c534cb736266e6d651548fefcc19.tar.gz |
Return the string position in case of an error in the priority functions.
Diffstat (limited to 'lib/gnutlsxx.cpp')
-rw-r--r-- | lib/gnutlsxx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp index b5e8c99da9..815dae103c 100644 --- a/lib/gnutlsxx.cpp +++ b/lib/gnutlsxx.cpp @@ -187,9 +187,9 @@ void session::set_certificate_type_priority (const int *list) /* if you just want some defaults, use the following. */ -void session::set_priority(const char* prio, char* syntax_error, size_t syntax_error_size) +void session::set_priority(const char* prio, const char** err_pos) { - RETWRAP(gnutls_priority_set_direct( this->s, prio, syntax_error, syntax_error_size)); + RETWRAP(gnutls_priority_set_direct( this->s, prio, err_pos)); } void session::set_priority(gnutls_priority_t p) |