aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Brady <rbrady@src.gnome.org>1999-08-05 01:34:17 +0800
committerRobert Brady <rbrady@src.gnome.org>1999-08-05 01:34:17 +0800
commite77e777a5701b825eb16f434d7497471635e3bc3 (patch)
tree95fc89587a8576958d82f449dd88fec3f8911618
parentbbd88805c2120aec425e133f11a5bb3f5168d9a3 (diff)
downloadgsoc2013-evolution-e77e777a5701b825eb16f434d7497471635e3bc3.tar.gz
gsoc2013-evolution-e77e777a5701b825eb16f434d7497471635e3bc3.tar.zst
gsoc2013-evolution-e77e777a5701b825eb16f434d7497471635e3bc3.zip
Fixed copyright issue. ;)
svn path=/trunk/; revision=1078
-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;
}