mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -05:00
Make plug receive and closing functions return void instead of int.
Nothing was paying attention to their return values any more anyway.
This commit is contained in:
@ -64,12 +64,12 @@ struct plug_function_table {
|
||||
* proxy command, so the receiver should probably prefix it to
|
||||
* indicate this.
|
||||
*/
|
||||
int (*closing)
|
||||
void (*closing)
|
||||
(Plug p, const char *error_msg, int error_code, int calling_back);
|
||||
/* error_msg is NULL iff it is not an error (ie it closed normally) */
|
||||
/* calling_back != 0 iff there is a Plug function */
|
||||
/* currently running (would cure the fixme in try_send()) */
|
||||
int (*receive) (Plug p, int urgent, char *data, int len);
|
||||
void (*receive) (Plug p, int urgent, char *data, int len);
|
||||
/*
|
||||
* - urgent==0. `data' points to `len' bytes of perfectly
|
||||
* ordinary data.
|
||||
|
Reference in New Issue
Block a user