checksrc: detect and remove space before trailing semicolons

This commit is contained in:
Daniel Stenberg
2015-03-17 14:06:48 +01:00
parent 0037eb5805
commit 2dc1a5ce93
8 changed files with 30 additions and 25 deletions

View File

@@ -145,8 +145,8 @@ typedef struct tftp_state_data {
/* Forward declarations */
static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event) ;
static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event) ;
static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event);
static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event);
static CURLcode tftp_connect(struct connectdata *conn, bool *done);
static CURLcode tftp_disconnect(struct connectdata *conn,
bool dead_connection);
@@ -218,7 +218,7 @@ static CURLcode tftp_set_timeouts(tftp_state_data_t *state)
state->max_time = state->start_time+maxtime;
/* Set per-block timeout to total */
timeout = maxtime ;
timeout = maxtime;
/* Average restart after 5 seconds */
state->retry_max = (int)timeout/5;