aboutsummaryrefslogtreecommitdiffstats
path: root/util/errors.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 16:53:14 +0000
committerDavid Shaw <[email protected]>2003-05-24 16:53:14 +0000
commitc84fdfbe620ed3e9d4d3f6c03b3fcea8a1685c72 (patch)
treedc24a02a957c942f43de558c2424dc897d7f1345 /util/errors.c
parent* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit all (diff)
downloadgnupg-c84fdfbe620ed3e9d4d3f6c03b3fcea8a1685c72.tar.gz
gnupg-c84fdfbe620ed3e9d4d3f6c03b3fcea8a1685c72.zip
* argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,
simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.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 '')
-rw-r--r--util/errors.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/errors.c b/util/errors.c
index 25d5a088a..10956a4e2 100644
--- a/util/errors.c
+++ b/util/errors.c
@@ -47,7 +47,7 @@ g10_errstr( int err )
static char buf[50];
const char *p;
- #define X(n,s) case G10ERR_##n : p = s; break;
+#define X(n,s) case G10ERR_##n : p = s; break;
switch( err ) {
case -1: p = "eof"; break;
case 0: p = "okay"; break;
@@ -107,7 +107,6 @@ g10_errstr( int err )
X(KEYSERVER ,N_("keyserver error"))
default: p = buf; sprintf(buf, "g10err=%d", err); break;
}
- #undef X
+#undef X
return _(p);
}
-