diff options
author | Lee Hambley <lee.hambley@gmail.com> | 2011-10-28 22:52:03 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-11-03 18:24:02 +0100 |
commit | 17f396ffab3a5ad9d9984344cde6793685cf81be (patch) | |
tree | 41a12de8543ebc0b7b957c666e2c53aad0289f29 /src/error.c | |
parent | 2c04994443384224161d895d00255b5788e8376d (diff) | |
download | libssh-17f396ffab3a5ad9d9984344cde6793685cf81be.tar.gz libssh-17f396ffab3a5ad9d9984344cde6793685cf81be.tar.xz libssh-17f396ffab3a5ad9d9984344cde6793685cf81be.zip |
Improve ssh_options_get(ssh_session, enum ssh_options_e, char**).
* Use SSH_ERROR and SSH_OK instead of `-1` and `0`.
* Re-factor for code duplication
* No longer call `ssh_set_error_invalid(ssh_session)` when the
ssh_session is NULL.
Diffstat (limited to 'src/error.c')
0 files changed, 0 insertions, 0 deletions