openbsd-ports/net/freeradius/patches/patch-src_main_session_c
2008-01-21 22:21:24 +00:00

13 lines
531 B
Plaintext

$OpenBSD: patch-src_main_session_c,v 1.4 2008/01/21 22:21:24 rui Exp $
--- src/main/session.c.orig Fri Nov 23 13:46:52 2007
+++ src/main/session.c Mon Jan 21 16:21:31 2008
@@ -202,7 +202,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);