[pan2: 57/268] debug



commit ac64074b527523934ad45da56b56c43c47c79d05
Author: Heinrich MÃller <sphemuel stud informatik uni-erlangen de>
Date:   Wed Jun 8 16:09:23 2011 +0200

    debug

 pan/tasks/task-upload.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pan/tasks/task-upload.cc b/pan/tasks/task-upload.cc
index 92472e0..109699b 100644
--- a/pan/tasks/task-upload.cc
+++ b/pan/tasks/task-upload.cc
@@ -357,7 +357,8 @@ TaskUpload :: use_encoder (Encoder* encoder)
   /* build format string */
   std::stringstream format_s;
   format_s << (_format.comment1 ? _subject : "");
-  format_s << " - \"%s\""; // will be filled in by uuencode
+  format_s << (_format.comment1 ? " - " : "");
+  format_s << "\"%s\""; // will be filled in by uuencode
   format_s << " (%d/%d) yEnc";     // will be filled in by uuencode
   std::string format(format_s.str());
   _encoder->enqueue (this, &_cache, _article, _filename, _basename,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]