[Nagios-devel] Patch for persistant Author

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Patch for persistant Author

Post by Guest »

Dear devel-list,
I think it's more usefull, if the user which logged into nagios could not
modify the Author Field.

Here is me patch.

If you think twice with me, put it into the newest version.

Regards,

Matthias



--- cgi/cmd.c (version 2. 9)
+++ cgi/cmd.c (working copy)
@@ -943,7 +943,7 @@
printf("");
printf("\n");
printf("Author (Your
Name):");
- printf("",comment_author);
+ printf("",comment_author);
printf("\n");
printf("Comment:");
printf("",comment_data);
@@ -969,7 +969,7 @@
printf("");
printf("\n");
printf("Author (Your
Name):");
- printf("",comment_author);
+ printf("",comment_author);
printf("\n");
printf("Comment:");
printf("",comment_data);
@@ -1152,7 +1152,7 @@
printf("",service_desc);
}
printf("Author (Your
Name):");
- printf("",comment_author);
+ printf("",comment_author);
printf("\n");
printf("Comment:");
printf("",comment_data);
@@ -1284,7 +1284,7 @@
printf("\n");
}
printf("Author (Your
Name):");
- printf("",comment_author);
+ printf("",comment_author);
printf("\n");
printf("Comment:");
printf("",comment_data);





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked