Rename control to control_fd and struct mode_serve_params to struct server

This commit is contained in:
Alex Young
2012-06-06 10:35:50 +01:00
parent a0990b824c
commit cc97dd4842
5 changed files with 29 additions and 29 deletions

View File

@@ -43,7 +43,7 @@ void exit_err( char *msg )
}
void params_serve(
struct mode_serve_params* out,
struct server* out,
char* s_ip_address,
char* s_port,
char* s_file,
@@ -161,7 +161,7 @@ void params_readwrite(
}
}
void do_serve(struct mode_serve_params* params);
void do_serve(struct server* params);
void do_read(struct mode_readwrite_params* params);
void do_write(struct mode_readwrite_params* params);
void do_remote_command(char* command, char* mode, int argc, char** argv);
@@ -290,7 +290,7 @@ int mode_serve( int argc, char *argv[] )
int default_deny = 0; // not on by default
int err = 0;
struct mode_serve_params serve;
struct server serve;
while (1) {
c = getopt_long(argc, argv, serve_short_options, serve_options, NULL);