diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-06-04 15:40:49 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-06-04 15:40:49 +0000 |
commit | dc95fa94c1a8bb7249034d6fd2e61f80df48b317 (patch) | |
tree | b3482bc7122c18a037f3b7b38cc8270a3c0d8eb9 /src/protocolhttp.cpp | |
parent | b84120127c21e6be693f554d7f170b73faacc09d (diff) | |
download | libbu++-dc95fa94c1a8bb7249034d6fd2e61f80df48b317.tar.gz libbu++-dc95fa94c1a8bb7249034d6fd2e61f80df48b317.tar.bz2 libbu++-dc95fa94c1a8bb7249034d6fd2e61f80df48b317.tar.xz libbu++-dc95fa94c1a8bb7249034d6fd2e61f80df48b317.zip |
Corrected a few macro definitions to make them more function-like and safe to
use.
Diffstat (limited to 'src/protocolhttp.cpp')
-rw-r--r-- | src/protocolhttp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocolhttp.cpp b/src/protocolhttp.cpp index f512eda..534cb02 100644 --- a/src/protocolhttp.cpp +++ b/src/protocolhttp.cpp | |||
@@ -33,7 +33,7 @@ void Bu::ProtocolHttp::onNewConnection( Bu::Client *pClient ) | |||
33 | iState = 0; | 33 | iState = 0; |
34 | } | 34 | } |
35 | 35 | ||
36 | #define SDB( i ) { } | 36 | #define SDB( i ) (void)0 |
37 | //#define SDB( i ) printf("state %d: %d, \"%s\"\n", i, tt, sToken.getStr() ) | 37 | //#define SDB( i ) printf("state %d: %d, \"%s\"\n", i, tt, sToken.getStr() ) |
38 | 38 | ||
39 | void Bu::ProtocolHttp::onNewData( Bu::Client *pClient ) | 39 | void Bu::ProtocolHttp::onNewData( Bu::Client *pClient ) |