Archive Index
This month's Index
|
Subject: Re: libssh2 master 3420e98... use const to silence a bazillion warnings
Re: libssh2 master 3420e98... use const to silence a bazillion warnings
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 2 Mar 2010 19:37:32 +0100 (CET)
On Tue, 2 Mar 2010, Alexander Lamaison wrote:
> I left the errmsg parameter non-const as the string may be freed when the
Haha, I got the reverse. I got warnings all over when passing const strings to
> Do we ever actually call libssh2_error with a string we want freed? I've not
I did a search for it and I find two or three cases. I'm not at all convinced
How would others feel about that?
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-03-02 |