..compiling HEAD

Matthew Newton mcn4 at leicester.ac.uk
Mon Oct 29 15:55:19 CET 2012


On Mon, Oct 29, 2012 at 02:45:28PM +0000, alan buxey wrote:
> issue with 3.0.0 HEAD (which is stopping me from reporting bugs
> with 3.x !) still cannot build on CentOS 6.3 box
> 
> make fails with

...and I wonder if Arran missed his coffee this morning? ;-)

commit a984181dff893951695aa22500cb330315983bcb
Author: Arran Cudbard-Bell <a.cudbardb at freeradius.org>
Date:   Mon Oct 29 06:41:06 2012 +0000

    arg needs to be a buffer

diff --git a/src/main/radclient.c b/src/main/radclient.c
index d9380f3..7194ac4 100644
--- a/src/main/radclient.c
+++ b/src/main/radclient.c
@@ -1022,7 +1022,7 @@ int main(int argc, char **argv)
                        timeout = atof(optarg);
                        break;
                case 'v':
-                       printf(radclient_version);
+                       print(radclient_version);
                        exit(0);
                        break;
                case 'x':
...

Cheers

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Devel mailing list