diff channel.h @ 1800:c584b5602bd8

Return errstring on connect failure
author Matt Johnston <matt@ucc.asn.au>
date Fri, 05 Mar 2021 21:13:20 +0800
parents 79eef94ccea9
children 3f0ac6bc58a1
line wrap: on
line diff
--- a/channel.h	Thu Mar 04 23:57:12 2021 +0800
+++ b/channel.h	Fri Mar 05 21:13:20 2021 +0800
@@ -104,7 +104,7 @@
 	void (*cleanup)(const struct Channel*);
 };
 
-/* Callback for connect_remote */
+/* Callback for connect_remote. errstring may be NULL if result == DROPBEAR_SUCCESS */
 void channel_connect_done(int result, int sock, void* user_data, const char* errstring);
 
 void chaninitialise(const struct ChanType *chantypes[]);