diff options
Diffstat (limited to 'src/mime-printdoc.cc')
-rw-r--r-- | src/mime-printdoc.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mime-printdoc.cc b/src/mime-printdoc.cc index bef673b..37ec356 100644 --- a/src/mime-printdoc.cc +++ b/src/mime-printdoc.cc @@ -4,28 +4,29 @@ * @author Andreas Aardal Hanssen * @date 2002-2005 * ----------------------------------------------------------------- **/ -#include "mime.h" -#include "mime-utils.h" -#include "mime-inputsource.h" #include "convert.h" #include "iodevice.h" #include "iofactory.h" +#include "mime-inputsource.h" +#include "mime-utils.h" +#include "mime.h" -#include <string> -#include <vector> -#include <map> #include <exception> #include <iostream> +#include <map> +#include <string> +#include <vector> -#include <string.h> #include <ctype.h> -#include <stdio.h> #include <errno.h> +#include <stdio.h> +#include <string.h> using namespace ::std; //------------------------------------------------------------------------ -void Binc::MimePart::printDoc(int fd, IODevice &output, +void Binc::MimePart::printDoc(int fd, + IODevice &output, unsigned int startoffset, unsigned int length) const { @@ -39,8 +40,7 @@ void Binc::MimePart::printDoc(int fd, IODevice &output, char c; for (unsigned int i = 0; i < length; ++i) { - if (!mimeSource->getChar(&c)) - break; + if (!mimeSource->getChar(&c)) break; output << (char)c; } |