aboutsummaryrefslogtreecommitdiff
path: root/libssh/string.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 15:22:26 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 15:22:26 +0000
commit948c3f1befb2ae25f5b8ae277f6cac1a9853b399 (patch)
treee59e97031879173f92e56a7142e233ba9efd2e59 /libssh/string.c
parent55c7cc683921ea7f4b640184cd13a90656d097ef (diff)
downloadlibssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.tar.gz
libssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.tar.xz
libssh-948c3f1befb2ae25f5b8ae277f6cac1a9853b399.zip
The string_len function should return unsigned int.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@209 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/string.c')
-rw-r--r--libssh/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/string.c b/libssh/string.c
index 45bd02c..17f9cb8 100644
--- a/libssh/string.c
+++ b/libssh/string.c
@@ -63,7 +63,7 @@ STRING *string_from_char(const char *what){
* \param str the input SSH string
* \return size of the content of str
*/
-int string_len(STRING *str){
+u32 string_len(STRING *str){
return ntohl(str->size);
}