HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Update (-i) doesn't call some wrappers
Author: Xavier Roche
Date: 04/03/2004 12:22
 
--- 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];
 
Reply Create subthread


All articles

Subject Author Date
Re: Update (-i) doesn't call some wrappers

04/03/2004 10:22
Re: Update (-i) doesn't call some wrappers

04/03/2004 12:22
Re: Update (-i) doesn't call some wrappers

04/05/2004 11:36




e

Created with FORUM 2.0.11