mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Return errstring on connect failure
This commit is contained in:
@@ -104,7 +104,7 @@ struct ChanType {
|
||||
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[]);
|
||||
|
||||
Reference in New Issue
Block a user