Subject: libssh2 master 13e920d... fix several return -1 to return a proper error code

libssh2 master 13e920d... fix several return -1 to return a proper error code

From: <libssh2_at_git.stuge.se>
Date: 24 Aug 2009 20:29:32 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "C library for writing portable SSH2 clients".

The branch, master has been updated
       via 13e920d4ef3dd2f39c556baf099d2c76f8b7d490 (commit)
       via 314e61e545a95896e51415fcc38faa5bff4af40d (commit)
      from 13c16db3bca2690fbe889f655ec182d32f712b03 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 13e920d4ef3dd2f39c556baf099d2c76f8b7d490
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon Aug 24 22:28:27 2009 +0200

    fix several return -1 to return a proper error code
    
    On many places in the code there have been laziness return -1
    statements lying around that should be fixed to return sensible
    error codes. Here's a take at fixing a few offenders.

commit 314e61e545a95896e51415fcc38faa5bff4af40d
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon Aug 24 22:27:11 2009 +0200

    change transport to use unified error codes
    
    I added three new public error codes, and then modified the return
    codes we use in the transport layer to use the generic error codes
    so that there won't be any risk of internal confusions due to
    different error code sets.

-----------------------------------------------------------------------

Summary of changes:
 include/libssh2.h | 3 +++
 src/channel.c | 12 +++++++-----
 src/libssh2_priv.h | 23 ++++++++++++-----------
 src/sftp.c | 17 +++++++++--------
 4 files changed, 31 insertions(+), 24 deletions(-)

hooks/post-receive

-- 
C library for writing portable SSH2 clients
_______________________________________________
libssh2-changes mailing list
libssh2-changes_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-changes
Received on 2009-08-26