gpgme: documentation error

Christoph Anton Mitterer cam at mathematica.scientia.net
Tue May 15 20:35:16 CEST 2007


Hi.

The info page of gpgme describes the function gpgme_strerror_r as follows:
 -- Funktion: char * gpgme_strerror_r (gpgme_error_t ERR)
     The function `gpgme_strerror_r' returns a pointer to a dynamically
     allocated string containing a description of the error code
     contained in the error value ERR.  This string can be used to
     output a diagnostic message to the user.  When it is not needed
     anymore, the user must deallocate it with `free'.

But this is different from what's actually in gpgme.h.
Which one of the two is correct?

Chris.




More information about the Gnupg-devel mailing list