Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv22547/src/gui

Modified Files:
        wxComposeView.cpp 
Log Message:
better handling for the messages with invalid addresses, also don't use fixed size 
buffers required by c-client any more

Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.246
retrieving revision 1.247
diff -b -u -2 -r1.246 -r1.247
--- wxComposeView.cpp   8 Feb 2002 17:46:26 -0000       1.246
+++ wxComposeView.cpp   22 Feb 2002 19:55:40 -0000      1.247
@@ -1541,5 +1541,9 @@
       while ( addr )
       {
-         AddRecipient(addr->GetAddress(), addrType);
+         String address = addr->GetAddress();
+         if ( !address.empty() )
+         {
+            AddRecipient(address, addrType);
+         }
 
          addr = addrList->GetNext(addr);


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to