VALUE_PAIR *passpair;
VALUE_PAIR *delaypair;
VALUE_PAIR *vp, *vps;
- CLIENT *client;
+ RADCLIENT *client;
REALM *realm;
char *realmname;
int replicating;
*/
struct timeval *proxy_setuptimeout(struct timeval *tv)
{
- time_t now = time(0);
+ time_t now = time(NULL);
time_t difference, smallest;
int foundone = 0;
REQUEST *p;
void proxy_retry(void)
{
- time_t now = time(0);
+ time_t now = time(NULL);
REQUEST *p;
for (p = proxy_requests; p; p = p->next) {