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
Fix the error message on one of the rename operations.
[rsync/rsync.git]
/
options.c
diff --git
a/options.c
b/options.c
index
e0a8401
..
16b7fb3
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-20,7
+20,7
@@
*/
#include "rsync.h"
*/
#include "rsync.h"
-#include "i
func
s.h"
+#include "i
type
s.h"
#include <popt.h>
#include "zlib/zlib.h"
#include <popt.h>
#include "zlib/zlib.h"
@@
-2267,7
+2267,8
@@
void server_options(char **args, int *argc_p)
argstr[x] = '\0';
argstr[x] = '\0';
- args[ac++] = argstr;
+ if (x > 1)
+ args[ac++] = argstr;
#ifdef ICONV_OPTION
if (iconv_opt) {
#ifdef ICONV_OPTION
if (iconv_opt) {