Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c70847
)
Turned the char * vars flist_dir and lastdir into const char * vars.
author
Wayne Davison
<wayned@samba.org>
Mon, 13 Nov 2006 00:27:10 +0000
(
00:27
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 13 Nov 2006 00:27:10 +0000
(
00:27
+0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
a61eaef
..
8e543a6
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-255,7
+255,7
@@
static mode_t from_wire_mode(int mode)
static void send_directory(int f, struct file_list *flist,
char *fbuf, int len);
static void send_directory(int f, struct file_list *flist,
char *fbuf, int len);
-static char *flist_dir;
+static c
onst c
har *flist_dir;
static int flist_dir_len;
static int flist_dir_len;
@@
-1216,7
+1216,7
@@
struct file_list *send_file_list(int f, int argc, char *argv[])
}
if (dir && *dir) {
}
if (dir && *dir) {
- static char *lastdir;
+ static c
onst c
har *lastdir;
static int lastdir_len;
strlcpy(olddir, curr_dir, sizeof olddir);
static int lastdir_len;
strlcpy(olddir, curr_dir, sizeof olddir);