aboutsummaryrefslogtreecommitdiff
path: root/src/legacy.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-03-22 12:23:02 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2011-03-22 12:23:02 +0100
commit1a101a959ed0e9ab26e9c4223874eab1f8fdd752 (patch)
treed0d37489a2d5dcbf300e8996606b7ec5a53b82f1 /src/legacy.c
parentdff4e4e6d3a56123b00df48fdcd7a6de0a275aef (diff)
downloadlibssh-1a101a959ed0e9ab26e9c4223874eab1f8fdd752.tar.gz
libssh-1a101a959ed0e9ab26e9c4223874eab1f8fdd752.tar.xz
libssh-1a101a959ed0e9ab26e9c4223874eab1f8fdd752.zip
Fix the ssh_message_retrieve problem by anihilation
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/legacy.c b/src/legacy.c
index 75e13630..76bcf503 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -247,4 +247,13 @@ int channel_write_stderr(ssh_channel channel, const void *data, uint32_t len) {
return ssh_channel_write(channel, data, len);
}
+/** @deprecated
+ * @brief Interface previously exported by error.
+ */
+ssh_message ssh_message_retrieve(ssh_session session, uint32_t packettype){
+ (void) packettype;
+ ssh_set_error(session, SSH_FATAL, "ssh_message_retrieve: obsolete libssh call");
+ return NULL;
+}
+
#endif /* WITH_SERVER */