summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index d0134a0..7ef4509 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2008 Nagios Plugins Development Team 6* Copyright (c) 2000-2008 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_ldap plugin 10* This file contains the check_ldap plugin
@@ -25,13 +23,11 @@
25* You should have received a copy of the GNU General Public License 23* You should have received a copy of the GNU General Public License
26* along with this program. If not, see <http://www.gnu.org/licenses/>. 24* along with this program. If not, see <http://www.gnu.org/licenses/>.
27* 25*
28* $Id$
29* 26*
30*****************************************************************************/ 27*****************************************************************************/
31 28
32/* progname may be check_ldaps */ 29/* progname may be check_ldaps */
33char *progname = "check_ldap"; 30char *progname = "check_ldap";
34const char *revision = "$Revision$";
35const char *copyright = "2000-2008"; 31const char *copyright = "2000-2008";
36const char *email = "nagiosplug-devel@lists.sourceforge.net"; 32const char *email = "nagiosplug-devel@lists.sourceforge.net";
37 33
@@ -289,7 +285,7 @@ process_arguments (int argc, char **argv)
289 print_help (); 285 print_help ();
290 exit (STATE_OK); 286 exit (STATE_OK);
291 case 'V': /* version */ 287 case 'V': /* version */
292 print_revision (progname, revision); 288 print_revision (progname, NP_VERSION);
293 exit (STATE_OK); 289 exit (STATE_OK);
294 case 't': /* timeout period */ 290 case 't': /* timeout period */
295 if (!is_intnonneg (optarg)) 291 if (!is_intnonneg (optarg))
@@ -390,7 +386,7 @@ print_help (void)
390 char *myport; 386 char *myport;
391 asprintf (&myport, "%d", DEFAULT_PORT); 387 asprintf (&myport, "%d", DEFAULT_PORT);
392 388
393 print_revision (progname, revision); 389 print_revision (progname, NP_VERSION);
394 390
395 printf ("Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)\n"); 391 printf ("Copyright (c) 1999 Didi Rieder (adrieder@sbox.tu-graz.ac.at)\n");
396 printf (COPYRIGHT, copyright, email); 392 printf (COPYRIGHT, copyright, email);