Sfoglia il codice sorgente

Should fix #235 (nasty_metachars was not being returned when specified in cfg file

madlohe 5 anni fa
parent
commit
4f7dd1199f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/nrpe.c

+ 2 - 0
src/nrpe.c

@@ -823,6 +823,8 @@ char* process_metachars(const char* input)
 		}
 		}
 	}
 	}
 	copy[j] = '\0';
 	copy[j] = '\0';
+
+	return copy;
 }
 }
 
 
 /* read in the configuration file */
 /* read in the configuration file */