]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
correctly put spaces into dependency_libs
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Nov 2017 13:13:47 +0000 (08:13 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Nov 2017 13:43:27 +0000 (08:43 -0500)
scripts/jlibtool.c

index 7598d97effb78ca252e4f26783994e4c20cc52ff..c1b194f8f00f59492640e67bd3b59cfaa308f203 100644 (file)
@@ -2370,9 +2370,7 @@ static int add_for_runtime(command_t *cmd)
                fprintf(f,"# Libraries that this one depends upon.\n");
                fprintf(f,"dependency_libs='");
                while (dep->num--) {
-                       fprintf(f,"%s", dep->vals[dep->num]);
-                       if ((dep->num - 1) >= 1)
-                               fputc(' ', f);
+                       fprintf(f,"%s ", dep->vals[dep->num]);
                }
                fprintf(f,"'\n\n");