瀏覽代碼

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

madlohe 6 年之前
父節點
當前提交
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 */