rprintf(f, "<http://rsync.samba.org/>\n");
rprintf(f, "Capabilities: %d-bit files, %ssocketpairs, "
"%shard links, %ssymlinks, batchfiles\n\n",
- sizeof(int64) * 8,
+ (int) (sizeof(int64) * 8),
got_socketpair,
hardlinks, links);
{"max-delete", 0, POPT_ARG_INT, &max_delete},
{"timeout", 0, POPT_ARG_INT, &io_timeout},
{"temp-dir", 'T', POPT_ARG_STRING, &tmpdir},
- {"compare-dest", 0, POPT_ARG_NONE, &compare_dest},
+ {"compare-dest", 0, POPT_ARG_STRING, &compare_dest},
/* TODO: Should this take an optional int giving the compression level? */
{"compress", 'z', POPT_ARG_NONE, &do_compression},
{"daemon", 0, POPT_ARG_NONE, &am_daemon},
case OPT_ADDRESS:
{
struct in_addr *ia;
- if ((ia = ip_address(optarg))) {
+ if ((ia = ip_address (poptGetOptArg (pc)))) {
socket_address = *ia;
}
}