[Olsr-cvs] olsrd-current/lib/tas test.c,1.2,1.3
Bernd Petrovitsch
(spam-protected)
Mon Sep 3 00:17:02 CEST 2007
- Previous message: [Olsr-cvs] olsrd-current/lib/mini/src olsrd_plugin.c, 1.3, 1.4 olsrd_plugin.h, 1.3, 1.4
- Next message: [Olsr-cvs] olsrd-current/lib/tas/src http.c, 1.5, 1.6 http.h, 1.1, 1.2 plugin.c, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/olsrd/olsrd-current/lib/tas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29712/lib/tas
Modified Files:
test.c
Log Message:
* converted TAS plugin interface to version 5. Untested since I have not test cases. But it looks pretty obvious
Index: test.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/tas/test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test.c 15 Jul 2007 17:48:55 -0000 1.2
--- test.c 2 Sep 2007 22:17:00 -0000 1.3
***************
*** 89,93 ****
}
! if (httpSetAddress(av[i]) < 0)
{
fprintf(stderr, "cannot set address\n");
--- 89,93 ----
}
! if (httpSetAddress(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set address\n");
***************
*** 105,109 ****
}
! if (httpSetPort(av[i]) < 0)
{
fprintf(stderr, "cannot set port\n");
--- 105,109 ----
}
! if (httpSetPort(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set port\n");
***************
*** 121,125 ****
}
! if (httpSetWorkDir(av[i]) < 0)
{
fprintf(stderr, "cannot set work directory\n");
--- 121,125 ----
}
! if (httpSetWorkDir(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set work directory\n");
***************
*** 137,141 ****
}
! if (httpSetRootDir(av[i]) < 0)
{
fprintf(stderr, "cannot set root directory\n");
--- 137,141 ----
}
! if (httpSetRootDir(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set root directory\n");
***************
*** 153,157 ****
}
! httpSetIndexFile(av[i]);
}
--- 153,157 ----
}
! httpSetIndexFile(av[i], NULL, 0);
}
***************
*** 165,169 ****
}
! httpSetUser(av[i]);
}
--- 165,169 ----
}
! httpSetUser(av[i], NULL, 0);
}
***************
*** 177,181 ****
}
! httpSetPassword(av[i]);
}
--- 177,181 ----
}
! httpSetPassword(av[i], NULL, 0);
}
***************
*** 189,193 ****
}
! if (httpSetSessTime(av[i]) < 0)
{
fprintf(stderr, "cannot set session timeout\n");
--- 189,193 ----
}
! if (httpSetSessTime(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set session timeout\n");
***************
*** 205,209 ****
}
! httpSetPubDir(av[i]);
}
--- 205,209 ----
}
! httpSetPubDir(av[i], NULL, 0);
}
***************
*** 217,221 ****
}
! if (httpSetQuantum(av[i]) < 0)
{
fprintf(stderr, "cannot set quantum\n");
--- 217,221 ----
}
! if (httpSetQuantum(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set quantum\n");
***************
*** 233,237 ****
}
! if (httpSetMessTime(av[i]) < 0)
{
fprintf(stderr, "cannot set message timeout\n");
--- 233,237 ----
}
! if (httpSetMessTime(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set message timeout\n");
***************
*** 249,253 ****
}
! if (httpSetMessLimit(av[i]) < 0)
{
fprintf(stderr, "cannot set message queue limit\n");
--- 249,253 ----
}
! if (httpSetMessLimit(av[i], NULL, 0) < 0)
{
fprintf(stderr, "cannot set message queue limit\n");
- Previous message: [Olsr-cvs] olsrd-current/lib/mini/src olsrd_plugin.c, 1.3, 1.4 olsrd_plugin.h, 1.3, 1.4
- Next message: [Olsr-cvs] olsrd-current/lib/tas/src http.c, 1.5, 1.6 http.h, 1.1, 1.2 plugin.c, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Olsr-cvs
mailing list