summaryrefslogtreecommitdiffstats
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-04 20:07:35 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-06 12:29:03 +0100
commitc712d30311221c153cf5b3778651a73992c38719 (patch)
tree477a5b98b6498583e9520145c7d1bf985545baf2 /libssh
parent2144049c7dad4b1584c893dae3303a724c829864 (diff)
Rename ssh_list_add to ssh_list_append.
Diffstat (limited to 'libssh')
-rw-r--r--libssh/messages.c2
-rw-r--r--libssh/misc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libssh/messages.c b/libssh/messages.c
index fc1624c0..26bd310b 100644
--- a/libssh/messages.c
+++ b/libssh/messages.c
@@ -867,7 +867,7 @@ void message_handle(ssh_session session, uint32_t type){
if(!session->ssh_message_list){
session->ssh_message_list=ssh_list_new();
}
- ssh_list_add(session->ssh_message_list,msg);
+ ssh_list_append(session->ssh_message_list,msg);
}
}
diff --git a/libssh/misc.c b/libssh/misc.c
index 76f72a72..95b20306 100644
--- a/libssh/misc.c
+++ b/libssh/misc.c
@@ -222,7 +222,7 @@ static struct ssh_iterator *ssh_iterator_new(const void *data){
return iterator;
}
-int ssh_list_add(struct ssh_list *list,const void *data){
+int ssh_list_append(struct ssh_list *list,const void *data){
struct ssh_iterator *iterator=ssh_iterator_new(data);
if(!iterator)
return SSH_ERROR;