Delete the MS_FINALISE mirror state
It's not being used for anything.
This commit is contained in:
@@ -250,7 +250,6 @@ void control_write_mirror_response( enum mirror_state mirror_state, int client_f
|
||||
write_socket( "1: Remote size does not match local size" );
|
||||
break;
|
||||
case MS_GO:
|
||||
case MS_FINALISE:
|
||||
case MS_DONE: /* Yes, I know we know better, but it's simpler this way */
|
||||
write_socket( "0: Mirror started" );
|
||||
break;
|
||||
|
@@ -386,7 +386,6 @@ void mirror_run( struct server *serve )
|
||||
if (written < mirror_last_pass_after_bytes_written) { break; }
|
||||
}
|
||||
|
||||
mirror_set_state( serve->mirror, MS_FINALISE );
|
||||
server_lock_io( serve );
|
||||
{
|
||||
if ( mirror_pass( serve, 0, &written ) &&
|
||||
|
@@ -50,7 +50,6 @@ enum mirror_state {
|
||||
MS_UNKNOWN,
|
||||
MS_INIT,
|
||||
MS_GO,
|
||||
MS_FINALISE,
|
||||
MS_DONE,
|
||||
MS_FAIL_CONNECT,
|
||||
MS_FAIL_REJECTED,
|
||||
|
Reference in New Issue
Block a user