Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv29994/src/mail
Modified Files:
Message.cpp
Log Message:
fix the bug in return value of GetHeaderLine() which always returned TRUE
Index: Message.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/Message.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -u -2 -r1.27 -r1.28
--- Message.cpp 5 Sep 2001 00:05:35 -0000 1.27
+++ Message.cpp 18 Jun 2002 15:37:06 -0000 1.28
@@ -440,11 +440,11 @@
{
value.clear();
-
- return false;
}
-
+ else
+ {
value = values[0];
+ }
- return true;
+ return !value.empty();
}
----------------------------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://thinkgeek.com/sf <<<
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates