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 22:00:59 +0100 (CET)

On Tue, 2 Mar 2010, Peter Stuge wrote:

>> How would others feel about that?
>
> I like static, but since that is not reentrant it should take an optional
> pointer to a static array in the caller.

Well, I meant static in the sense that it would be an array within the session
struct, and we already before only held a single error message string per
session so it wouldn't introduce any new restrictions really (other than the
length restriction due to a fixed buffer size).

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-02