Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change some args from "char *" to "const char *" in order to get rid of
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
1bc5b9a
..
059be75
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-408,7
+408,7
@@
static int path_failure(int f_out, const char *dir, BOOL was_chdir)
return -1;
}
return -1;
}
-static int rsync_module(int f_in, int f_out, int i, c
har *addr,
char *host)
+static int rsync_module(int f_in, int f_out, int i, c
onst char *addr, const
char *host)
{
int argc;
char **argv, **orig_argv, **orig_early_argv, *module_chdir;
{
int argc;
char **argv, **orig_argv, **orig_early_argv, *module_chdir;
@@
-922,7
+922,7
@@
static int load_config(int globals_only)
int start_daemon(int f_in, int f_out)
{
char line[1024];
int start_daemon(int f_in, int f_out)
{
char line[1024];
- char *addr, *host;
+ c
onst c
har *addr, *host;
int i;
io_set_sock_fds(f_in, f_out);
int i;
io_set_sock_fds(f_in, f_out);