File mailsync-correct-format-errors.patch of Package mailsync

diff -ruNp mailsync-5.2.1~/src/channel.cc mailsync-5.2.1/src/channel.cc
--- mailsync-5.2.1~/src/channel.cc	2004-06-14 13:33:45.000000000 +0200
+++ mailsync-5.2.1/src/channel.cc	2006-07-03 16:50:30.000000000 +0200
@@ -103,7 +103,8 @@ bool Channel::read_lasttime_seen( MsgIds
     if ( ! ( envelope->from && envelope->from->mailbox && envelope->subject) ) {
       // Mail with missing headers
       fprintf( stderr, "Info: The msinfo box %s contains a message with"
-                       " missing \"From\" or \"Subject\" header information\n");
+                       " missing \"From\" or \"Subject\" header information\n",
+                       this->msinfo.c_str() );
       continue;
     }
     if ( strncmp( envelope->from->mailbox, "mailsync", 8) ) {
diff -ruNp mailsync-5.2.1~/src/store.cc mailsync-5.2.1/src/store.cc
--- mailsync-5.2.1~/src/store.cc	2004-06-14 09:30:39.000000000 +0200
+++ mailsync-5.2.1/src/store.cc	2006-07-03 16:51:31.000000000 +0200
@@ -455,7 +455,7 @@ void Store::display_driver()
   if (the_driver_name)
     printf( "Using driver %s for store %s\n", the_driver_name, nccs( name));
   else
-    printf( "No driver for store %s found\n");
+    printf( "No driver for store %s found\n", nccs(name));
 }
 
 //////////////////////////////////////////////////////////////////////////