X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fwtest.c;h=acc5658b1e93859dd479ed365b987c29c85228b7;hb=25db261b6bbbfcc7bc26f679f195b51d31b9d7d7;hp=c59c79db503b385247fe58f87004967ed7d9d69c;hpb=129b920a3019c8cfcb8ed37b20b1b49fd557b100;p=egate.git diff --git a/www/wtest.c b/www/wtest.c index c59c79d..acc5658 100644 --- a/www/wtest.c +++ b/www/wtest.c @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: wtest.c,v $ - * Revision 1.2 1996/01/09 10:46:51 adam + * Revision 1.3 1996/02/12 10:10:33 adam + * Resource/config system used by the gateway. + * + * Revision 1.2 1996/01/09 10:46:51 adam * New defines: LOGDIR/EGWDIR/CGIDIR set in Makefile. * * Revision 1.1 1995/10/20 11:49:28 adam @@ -64,13 +67,12 @@ int main() int counter = 0; int i; - chdir (CGIDIR); gw_log_init ("egw"); gw_log_level (GW_LOG_ALL); - gw_log_file (GW_LOG_ALL, LOGDIR "/wtest_log"); + gw_log_file (GW_LOG_ALL, "wtest_log"); gw_log (GW_LOG_STAT, mod, "Europagate www test"); - if (!(wcl = wproto_init ())) + if (!(wcl = wproto_init ("/tmp/egw"))) { gw_log (GW_LOG_FATAL, mod, "init"); exit (1);