1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-10-30 12:05:34 +03:00
Files
libssh2/src
Salvador Fandino ad23faaae6 _libssh2_error: Support allocating the error message
Before this patch "_libssh2_error" required the error message to be a
static string.

This patch adds a new function "_libssh2_error_flags" accepting an
additional "flags" argument and specifically the flag
"LIBSSH2_ERR_FLAG_DUP" indicating that the passed string must be
duplicated into the heap.

Then, the method "_libssh2_error" has been rewritten to use that new
function under the hood.

Signed-off-by: Salvador Fandino <sfandino@yahoo.com>
Signed-off-by: Salvador Fandiño <sfandino@yahoo.com>
2015-11-02 14:49:54 +01:00
..
2009-06-04 18:20:29 +02:00
2010-12-30 00:09:53 +01:00
2014-12-22 15:59:21 +01:00
2015-03-12 22:48:38 +00:00
2013-10-16 23:23:26 +02:00
2014-12-22 15:59:21 +01:00
2015-09-17 15:27:30 +02:00
2015-09-17 15:27:30 +02:00