On Mon, Jun 27, 2005 at 12:07:19AM -0600, Andrew Shewmaker wrote:
> +                       for (j = 0; j < SUM_LENGTH; j++ ) {
> +                               snprintf(buf2 + j * 2, sizeof buf2, fmt, 
> file->u.sum[j]);

Not every entry will have a non-zero "sum" pointer (e.g. symlinks, dirs,
etc.), so you need to be sure to check for this and print some other
value ("N/A") for entries with a NULL pointer.

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to