openbsd-ports/net/freeradius/patches/patch-src_main_session_c

13 lines
531 B
Plaintext

$OpenBSD: patch-src_main_session_c,v 1.5 2008/07/28 21:51:10 rui Exp $
--- src/main/session.c.orig Thu Jun 5 11:18:53 2008
+++ src/main/session.c Tue Jul 15 08:43:37 2008
@@ -204,7 +204,7 @@ int rad_check_ts(uint32_t nasaddr, unsigned int portnu
processor to execute checkrad
*/
execl(getenv("COMSPEC"), "", "/C","checkrad", cl->nastype, address, port,
- user, session_id, NULL);
+ user, session_id, (void *)NULL);
#else
execl(mainconfig.checkrad, "checkrad", cl->nastype, address, port,
user, session_id, NULL);