aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Uhrig <[email protected]>2005-03-27 18:28:09 +0000
committerStefan Uhrig <[email protected]>2005-03-27 18:28:09 +0000
commit5c3d99b86a74227921cd81edaed22697f67004ed (patch)
treeedfcc57dd63b887dd1ad6bc0a850aabc559a37e0
parentIncluded <algorithm> header. (diff)
downloadvmime-5c3d99b86a74227921cd81edaed22697f67004ed.tar.gz
vmime-5c3d99b86a74227921cd81edaed22697f67004ed.zip
Fixed integer assignment to boolean variable.
-rw-r--r--src/relay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relay.cpp b/src/relay.cpp
index 2eef657b..3724bde2 100644
--- a/src/relay.cpp
+++ b/src/relay.cpp
@@ -96,7 +96,7 @@ void relay::parse(const string& buffer, const string::size_type position,
{
Parts newPart = Part_None;
- if (cont = (iss >> word))
+ if (cont = ((iss >> word) != 0))
{
// A little hack for handling comments
if (inComment)