[Nagiosplug-checkins] nagiosplug/plugins check_ldap.c,1.28,1.29

Ton Voon tonvoon at users.sourceforge.net
Fri Dec 10 13:19:04 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13017

Modified Files:
	check_ldap.c 
Log Message:
Fixed compile warning


Index: check_ldap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_ldap.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- check_ldap.c	8 Dec 2004 00:36:19 -0000	1.28
+++ check_ldap.c	10 Dec 2004 21:18:01 -0000	1.29
@@ -18,7 +18,8 @@
  
 ******************************************************************************/
 
-const char *progname = "check_ldap";
+/* progname may be check_ldaps */
+char *progname = "check_ldap";
 const char *revision = "$Revision$";
 const char *copyright = "2000-2004";
 const char *email = "nagiosplug-devel at lists.sourceforge.net";
@@ -84,7 +85,7 @@
 	textdomain (PACKAGE);
 
 	if (strstr(argv[0],"check_ldaps")) {
-      asprintf (&progname, "check_ldaps");
+		asprintf (&progname, "check_ldaps");
  	}
 	
 	if (process_arguments (argc, argv) == ERROR)





More information about the Commits mailing list