rsync -an --out-format="%M %f" /home /tmp
In the output, all spaces following %M are converted to '-'. (When using tabs to delimit the format specifiers, the problem does not seem to occur.)
The same happens when using custom log formats.
This is on Linux [Fedora 7, 2.6.21-1.3228.fc7, x86_64, glibc 2.6].
Created attachment 3252 [details]
proposed fix (the argument to strchr in log.c seems to be incorrect)
Created attachment 3253 [details]
make the previous patch more efficient (don't rescan the already processed string)
Thanks for both the report and the patch!
I have applied this fix to the git repository.