aboutsummaryrefslogtreecommitdiff
path: root/src/pcap.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:55:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-19 20:55:55 +0100
commitcb9786b3ae7455fc1206157fa27ce25e1a1b227b (patch)
treef28c2aa2c587be9242065fd3b358dbae08ed5923 /src/pcap.c
parent9c4144689d7d062aa636a019b416d172a9e12c29 (diff)
downloadlibssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.tar.gz
libssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.tar.xz
libssh-cb9786b3ae7455fc1206157fa27ce25e1a1b227b.zip
src: Rename buffer_add_data() to ssh_buffer_add_data().
Diffstat (limited to 'src/pcap.c')
-rw-r--r--src/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcap.c b/src/pcap.c
index 6e688962..7b31293b 100644
--- a/src/pcap.c
+++ b/src/pcap.c
@@ -486,7 +486,7 @@ int ssh_pcap_context_write(ssh_pcap_context ctx,enum ssh_pcap_direction directio
goto error;
}
/* actual data */
- err = buffer_add_data(ip,data,len);
+ err = ssh_buffer_add_data(ip, data, len);
if (err < 0) {
goto error;
}