return 1;
}
- if ((req = rad_alloc(1)) == NULL) {
+ req = rad_alloc(NULL, 1);
+ if (!req) {
fr_perror("radclient");
exit(1);
}
return 1;
}
- if ((req = rad_alloc(1)) == NULL) {
+ req = rad_alloc(NULL, 1)
+ if (!req) {
fr_perror("radclient");
exit(1);
}
- if ((req2 = rad_alloc(1)) == NULL) {
+ req2 = rad_alloc(NULL, 1);
+ if (!req2) {
fr_perror("radclient");
exit(1);
}