aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/gmime-rfc2047.c13
-rw-r--r--camel/gmime-rfc2047.h5
-rw-r--r--tests/test2.c4
3 files changed, 8 insertions, 14 deletions
diff --git a/camel/gmime-rfc2047.c b/camel/gmime-rfc2047.c
index 2a90c1869e..5f68dec92d 100644
--- a/camel/gmime-rfc2047.c
+++ b/camel/gmime-rfc2047.c
@@ -1,8 +1,8 @@
/*
* gmime-rfc2047.c: implemention of RFC2047
*
- * Copyright (C) 1999 Robert Brady <rwb197@ecs.soton.ac.uk>
- *
+ * Copyright (C) 1999 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr> .
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
@@ -29,14 +29,9 @@
#define NOT_RANKED -1
-/* base64 code from tin. This should be changed to use the base64 code Miguel comitted */
+/* This should be changed ASAP to use the base64 code Miguel comitted */
-const char base64_alphabet[64] =
-{
- 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P',
- 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f',
- 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v',
- 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'};
+const char *base64_alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
static unsigned char base64_rank[256];
static int base64_rank_table_built;
diff --git a/camel/gmime-rfc2047.h b/camel/gmime-rfc2047.h
index bcc17896be..78c463639d 100644
--- a/camel/gmime-rfc2047.h
+++ b/camel/gmime-rfc2047.h
@@ -1,9 +1,8 @@
#ifndef GMIME_RFC2047_H
/*
- *
- * Copyright (C) 1999 Robert Brady <rwb197@ecs.soton.ac.uk>
- *
+ * Copyright (C) 1999 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr> .
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
diff --git a/tests/test2.c b/tests/test2.c
index 154a243007..c120d558d6 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -9,7 +9,7 @@
#include "camel-stream-fs.h"
#include "camel.h"
-void
+int
main (int argc, char**argv)
{
GHashTable *header_table;
@@ -37,6 +37,6 @@ main (int argc, char**argv)
camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), output_stream);
camel_stream_close (output_stream);
-
+ return 0;
}