+ if (!use_chroot) {
+ /*
+ * Note that this is applied to all parameters, whether or not
+ * they are filenames, but no other legal parameters contain
+ * the forms that need to be sanitized so it doesn't hurt;
+ * it is not known at this point which parameters are files
+ * and which aren't.
+ */
+ for (i = 1; i < argc; i++) {
+ sanitize_path(argv[i]);
+ }
+ }
+
+ ret = parse_arguments(argc, argv, 0);
+
+ if (request) {
+ if (*auth_user) {
+ rprintf(FINFO,"rsync %s %s from %s@%s (%s)\n",
+ am_sender?"on":"to",
+ request, auth_user, host, addr);
+ } else {
+ rprintf(FINFO,"rsync %s %s from %s (%s)\n",
+ am_sender?"on":"to",
+ request, host, addr);
+ }
+ free(request);
+ }