]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated documentation on non-return value of gnutls_ext_set_data
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 20 Mar 2015 08:41:59 +0000 (09:41 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 20 Mar 2015 08:41:59 +0000 (09:41 +0100)
lib/gnutls_extensions.c

index f206936230af16996df1a389658b0c935cc7b327..0454e7ed94b1b7c9698aa35b9e6cc4f3fc545324 100644 (file)
@@ -776,15 +776,13 @@ gnutls_ext_register(const char *name, int type, gnutls_ext_parse_type_t parse_ty
  * and retrieve them later on. The set data will be deallocated using
  * the gnutls_ext_deinit_data_func.
  *
- * Returns: %GNUTLS_E_SUCCESS on success, otherwise a negative error code.
- *
  * Since: 3.4.0
  **/
 void
 gnutls_ext_set_data(gnutls_session_t session, unsigned type,
                    gnutls_ext_priv_data_t data)
 {
-       return _gnutls_ext_set_session_data(session, type, data);
+       _gnutls_ext_set_session_data(session, type, data);
 }
 
 /**