X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2Fconvert.c;h=8101fb920a40adafad02ab92ed4efd5181c2ae44;hp=89115481d1488a9d929509b5a16f90296eff14e0;hb=fdb2c7e1f2211fe4328ee6390f40a55446ecd078;hpb=2c6eeb55b7339bf639ab93826446ffb4390e8f78 diff --git a/pctb/convert.c b/pctb/convert.c index 8911548..8101fb9 100644 --- a/pctb/convert.c +++ b/pctb/convert.c @@ -127,7 +127,7 @@ void fetch_with_rsync(const char *stem) { if (DEBUGP(rsync)) fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local); execlp(rsync, "rsync", - DEBUGP(rsync) ? "-vLt" : "-Lt", + DEBUGP(rsync) ? "-zvLt" : "-zLt", "--",remote,local,(char*)0); sysassert(!"exec rsync failed"); } @@ -305,7 +305,7 @@ int main(int argc, char **argv) { } if (o_mode & mf_analyse) { if (o_flags & ff_needisland) { - find_islandname(page0_rgbimage); + find_islandname(page_images[0]->rgb); if (o_flags & ff_printisland) printf("%s, %s\n", archipelago, island); sysassert(! setenv("YPPSC_ISLAND",island,1) );