| --- htscoremain.c.orig Sat Apr 3 12:21:37 2004
+++ htscoremain.c Sat Apr 3 12:18:39 2004
@@ -1473,17 +1473,17 @@
if (userfunction != NULL) {
if ((void*)htswrap_read
(callbackname) != NULL) {
if (htswrap_add(callbackname,
userfunction)) {
- if (!httrack.quiet) {
- set_wrappers();
+ set_wrappers(); /*
Re-read wrappers internal static functions */
if ((void*)htswrap_read
(callbackname) == userfunction) {
+ if (!httrack.quiet) {
fprintf
(stderr, "successfully plugged [%s -> %s:%s]\n",
callbackname, posf, filename);
+ }
} else {
char tmp[1024 * 2];
sprintf(tmp, "option %%W :
unable to (re)plug the function %s from the file %s for the
callback %s", posf, filename, callbackname);
HTS_PANIC_PRINTF(tmp);
htsmain_free();
return -1;
- }
}
} else {
char tmp[1024 * 2];
| |