[Prev][Next][Index][Thread]
HTAlert_SetInteractive in HTCache.c
Hi,
I presume that someone has already mentioned this, but nevertheleess:
In HTCache.c ( @(#) $Id: HTCache.c,v 2.27 1996/10/10 22:33:52 frystyk Exp $), which
comes with libwww-5.0a, the library is put into non-interactive mode in order
to read the cache index. Interactive mode should be re-enabled thereafter.
After activating the cache, you are currently not able to use the
alert callback functions. The included patch will fix the problem.
-stefan
*** HTCache.c.orig Thu Nov 28 16:54:46 1996
--- HTCache.c Thu Nov 28 16:55:22 1996
***************
*** 503,508 ****
--- 503,509 ----
HTAlert_setInteractive(NO);
status = HTLoad(request, NO);
HTRequest_delete(request);
+ HTAlert_setInteractive(YES);
HT_FREE(file);
HT_FREE(index);
}
--
Stefan Nusser nusser@wu-wien.ac.at
Vienna University of Economics and Business Administration
Department of Management Information Systems
Augasse 2-6, A-1090 Vienna, Austria
Tel: +43 (222) 31 336 x4419 Fax: x746