void do_field(const char *const *argv) { const char *debar, *directory; info_prepare(&argv,&debar,&directory,1); if (*argv) { info_field(debar, directory, argv, argv[1] != NULL); } else { static const char *const controlonly[] = { "control", NULL }; info_spew(debar,directory, controlonly); } }
int do_field(const char *const *argv) { const char *debar, *dir; info_prepare(&argv, &debar, &dir, 1); if (*argv) { info_field(debar, dir, argv, argv[1] != NULL); } else { static const char *const controlonly[] = { CONTROLFILE, NULL }; info_spew(debar, dir, controlonly); } return 0; }