Преглед изворни кода

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

madlohe пре 5 година
родитељ
комит
4f7dd1199f
1 измењених фајлова са 2 додато и 0 уклоњено
  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 */