summaryrefslogtreecommitdiffstats
path: root/src/messages.c
diff options
context:
space:
mode:
authorLee Hambley <lee.hambley@gmail.com>2011-10-28 22:52:03 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-11-03 18:24:02 +0100
commit17f396ffab3a5ad9d9984344cde6793685cf81be (patch)
tree41a12de8543ebc0b7b957c666e2c53aad0289f29 /src/messages.c
parent2c04994443384224161d895d00255b5788e8376d (diff)
downloadlibssh-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/messages.c')
0 files changed, 0 insertions, 0 deletions