Index: trunk/src_plugins/fp_wget/gedasymbols.c =================================================================== --- trunk/src_plugins/fp_wget/gedasymbols.c (revision 16359) +++ trunk/src_plugins/fp_wget/gedasymbols.c (revision 16360) @@ -1,3 +1,5 @@ +#include "config.h" + #include #include #include @@ -4,7 +6,7 @@ #include #include #include -#include "config.h" +#include "error.h" #include "wget_common.h" #include "gedasymbols.h" #include "plugins.h" @@ -64,10 +66,10 @@ if (f != NULL) fclose(f); - printf("old='%s' new='%s'\n", md5_last, md5_new); +/* printf("old='%s' new='%s'\n", md5_last, md5_new);*/ if (!md5_cmp_free(last_sum_fn, md5_last, md5_new)) { - printf("no chg.\n"); +/* printf("no chg.\n");*/ mode = FP_WGET_OFFLINE; /* use the cache */ } else @@ -74,7 +76,7 @@ mode = 0; if (fp_wget_open(url_idx_list, gedasym_cache, &f, &fctx, mode) != 0) { - printf("failed to download the new list\n"); + pcb_message(PCB_MSG_ERROR, "gedasymbols: failed to download the new list\n"); pcb_remove(last_sum_fn); /* make sure it is downloaded next time */ goto err; } @@ -110,8 +112,6 @@ } fp_wget_close(&f, &fctx); - printf("update!\n"); - quit:; gds_uninit(&vpath); return 0;