Index: trunk/src_plugins/fp_wget/wget_common.c =================================================================== --- trunk/src_plugins/fp_wget/wget_common.c (revision 34737) +++ trunk/src_plugins/fp_wget/wget_common.c (revision 34738) @@ -67,7 +67,7 @@ if (f == NULL) goto error; if (!fp_wget_offline) - *f = pcb_wget_popen(url, update, NULL); + *f = rnd_wget_popen(url, update, NULL); if (*f == NULL) goto error; *fctx = FCTX_POPEN; @@ -94,7 +94,7 @@ if ((!fp_wget_offline) && !(mode & FP_WGET_OFFLINE)) { int res; sprintf(cmd, "%s/%s", cache_path, cdir); - res = pcb_wget_disk(url, cmd, update, NULL); + res = rnd_wget_disk(url, cmd, update, NULL); /* rnd_trace("------res=%d\n", res); */ if ((res != 0) && (res != 768)) { /* some versions of wget will return error on -c if the file doesn't need update; try to guess whether it's really an error */ /* when wget fails, a 0-long file might be left there - remove it so it won't block new downloads */ Index: trunk/src_plugins/order_pcbway/pcbway.c =================================================================== --- trunk/src_plugins/order_pcbway/pcbway.c (revision 34737) +++ trunk/src_plugins/order_pcbway/pcbway.c (revision 34738) @@ -64,7 +64,7 @@ vts0_t country_codes; } pcbway_form_t; -static int pcbway_cahce_update_(rnd_hidlib_t *hidlib, const char *url, const char *path, int update, pcb_wget_opts_t *wopts) +static int pcbway_cahce_update_(rnd_hidlib_t *hidlib, const char *url, const char *path, int update, rnd_wget_opts_t *wopts) { double mt, now = rnd_dtime(); @@ -76,7 +76,7 @@ else rnd_message(RND_MSG_INFO, "pcbway: stale '%s', updating it in the cache\n", path); } - if (pcb_wget_disk(url, path, update, wopts) != 0) { + if (rnd_wget_disk(url, path, update, wopts) != 0) { rnd_message(RND_MSG_ERROR, "pcbway: failed to download %s\n", url); return -1; } @@ -90,7 +90,7 @@ static int pcbway_cache_update(rnd_hidlib_t *hidlib) { char *hdr[5]; - pcb_wget_opts_t wopts; + rnd_wget_opts_t wopts; char *cachedir, *path; int res = 0; @@ -503,7 +503,7 @@ { char *hdr[5]; - pcb_wget_opts_t wopts; + rnd_wget_opts_t wopts; wopts.header = (const char **)hdr; hdr[0] = rnd_concat("api-key: ", CFG.api_key, NULL); @@ -512,7 +512,7 @@ hdr[3] = NULL; wopts.post_file = tmpfn; - if (pcb_wget_disk(SERVER "/api/Pcb/PcbQuotation", respfn, 0, &wopts) != 0) { + if (rnd_wget_disk(SERVER "/api/Pcb/PcbQuotation", respfn, 0, &wopts) != 0) { rnd_message(RND_MSG_ERROR, "pcbway: failed to get a quote from the server\n"); goto err; }