From 98d5a548eef2c15a47a5024e2ab7340cf444864c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 30 Apr 2003 11:36:40 +0000 Subject: Protection from runaway recursion. --- include/PropSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 59588c62e..b32082491 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -38,7 +38,7 @@ public: void SetMultiple(const char *s); SString Get(const char *key); SString GetExpanded(const char *key); - SString Expand(const char *withVars); + SString Expand(const char *withVars, int maxExpands=100); int GetInt(const char *key, int defaultValue=0); SString GetWild(const char *keybase, const char *filename); SString GetNewExpand(const char *keybase, const char *filename=""); -- cgit v1.2.3