aboutsummaryrefslogtreecommitdiffstats
path: root/g10/textfilter.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
committerDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
commit3a23c4230bc61f905a316c2df9116d871fd9029f (patch)
tree6e913e8b23f538fb0bf19e213568a140f077b54e /g10/textfilter.c
parent* bftest.c, crlf.c, mk-tdata.c, mpicalc.c, shmtest.c: Edit all (diff)
downloadgnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.tar.gz
gnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.zip
* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
Diffstat (limited to 'g10/textfilter.c')
-rw-r--r--g10/textfilter.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/g10/textfilter.c b/g10/textfilter.c
index ded030d79..6f3fe1bbf 100644
--- a/g10/textfilter.c
+++ b/g10/textfilter.c
@@ -34,9 +34,9 @@
#include "options.h"
#ifdef HAVE_DOSISH_SYSTEM
- #define LF "\r\n"
+#define LF "\r\n"
#else
- #define LF "\n"
+#define LF "\n"
#endif
#define MAX_LINELEN 19995 /* a little bit smaller than in armor.c */
@@ -193,7 +193,7 @@ copy_clearsig_text( IOBUF out, IOBUF inp, MD_HANDLE md,
iobuf_put( out, ' ' );
}
- #if 0 /*defined(HAVE_DOSISH_SYSTEM)*/
+#if 0 /*defined(HAVE_DOSISH_SYSTEM)*/
/* We don't use this anymore because my interpretation of rfc2440 7.1
* is that there is no conversion needed. If one decides to
* clearsign a unix file on a DOS box he will get a mixed line endings.
@@ -215,9 +215,9 @@ copy_clearsig_text( IOBUF out, IOBUF inp, MD_HANDLE md,
else
iobuf_write( out, buffer, n );
- #else
+#else
iobuf_write( out, buffer, n );
- #endif
+#endif
}
/* at eof */
@@ -232,4 +232,3 @@ copy_clearsig_text( IOBUF out, IOBUF inp, MD_HANDLE md,
return 0; /* okay */
}
-