Parcourir la source

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

madlohe il y a 6 ans
Parent
commit
4f7dd1199f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/nrpe.c

+ 2 - 0
src/nrpe.c

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