Sfoglia il codice sorgente

Fix compiler warnings re progname

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@419 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 23 anni fa
parent
commit
99be255ed1
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      plugins/check_tcp.c

+ 2 - 1
plugins/check_tcp.c

@@ -16,7 +16,8 @@
 *
 *****************************************************************************/
 
-const char *progname = "check_tcp";
+/* progname changes depending on symlink called */
+char *progname = "check_tcp";
 const char *revision = "$Revision$";
 const char *copyright = "2002-2003";
 const char *authors = "Nagios Plugin Development Team";