aboutsummaryrefslogtreecommitdiff
path: root/src/minimacro.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-02-07 14:59:11 +0000
committerMike Buland <eichlan@xagasoft.com>2008-02-07 14:59:11 +0000
commit5574841cc88412854b2cb94253152b3606803e2a (patch)
tree444381af56492c049e00b9b717a225333de614a5 /src/minimacro.h
parent3e581ae682dc6050b8b8c41c917ae62a040719d8 (diff)
downloadlibbu++-5574841cc88412854b2cb94253152b3606803e2a.tar.gz
libbu++-5574841cc88412854b2cb94253152b3606803e2a.tar.bz2
libbu++-5574841cc88412854b2cb94253152b3606803e2a.tar.xz
libbu++-5574841cc88412854b2cb94253152b3606803e2a.zip
Corrected a very rare race condition in Bu::ItoServer where there was a chance
that the client would disconnect so quickly that it would be cleaned up before it was properly accounted for. I apparently added something to MiniMacro a while ago...probably the end tags I think...
Diffstat (limited to 'src/minimacro.h')
-rw-r--r--src/minimacro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/minimacro.h b/src/minimacro.h
index 4349b19..f278666 100644
--- a/src/minimacro.h
+++ b/src/minimacro.h
@@ -70,6 +70,7 @@ namespace Bu
70 void addVar( const Bu::FString &sName, const Bu::FString &sValue ); 70 void addVar( const Bu::FString &sName, const Bu::FString &sValue );
71 bool hasVar( const Bu::FString &sName ); 71 bool hasVar( const Bu::FString &sName );
72 const Bu::FString &getvar( const Bu::FString &sName ); 72 const Bu::FString &getvar( const Bu::FString &sName );
73 int getPosition();
73 74
74 private: 75 private:
75 const char *sCur; 76 const char *sCur;
@@ -80,6 +81,8 @@ namespace Bu
80 const Bu::FString &sIn, const Bu::FString &sFunc ); 81 const Bu::FString &sIn, const Bu::FString &sFunc );
81 82
82 StrHash hVars; 83 StrHash hVars;
84 bool bContinue;
85 int iLastPos;
83 86
84 public: 87 public:
85 typedef Bu::List<Bu::FString> StrList; 88 typedef Bu::List<Bu::FString> StrList;