[STABLE] Small radius.c patch

Bettina Fink laura at hydrophil.de
Tue Jul 3 15:56:55 UTC 2001


Hi,

I hope it's self explaining ...

Bye,
Bettina


-- Attached file included as plaintext by Listar --
-- File: radius-patch
-- Desc: radius-patch

--- authprogs/radius.c.orig	Tue Jul  3 11:02:03 2001
+++ authprogs/radius.c	Tue Jul  3 17:44:44 2001
@@ -514,7 +514,7 @@
     if (argc != optind)
 	exit(2);
     if (!havefile) {
-	radius_config = cpcatpath(innconf->pathetc, _PATH_RADIUS_CONFIG);
+	radius_config = COPY(cpcatpath(innconf->pathetc, _PATH_RADIUS_CONFIG));
 	if (!(f = fopen(radius_config, "r"))) {
 	    fprintf(stderr, "couldn't open config file %s: %s\n", radius_config,
                     strerror(errno));



More information about the inn-patches mailing list