[gmime] use an actual static const string instead of a #define
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] use an actual static const string instead of a #define
- Date: Sat, 20 Oct 2012 15:15:02 +0000 (UTC)
commit 346996e7eda20810c8f7ce5523e8f1b450eb021f
Author: Jeffrey Stedfast <fejj gnome org>
Date: Fri Oct 19 23:11:30 2012 -0400
use an actual static const string instead of a #define
gmime/gmime-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gmime/gmime-parser.c b/gmime/gmime-parser.c
index c74f703..e278ee2 100644
--- a/gmime/gmime-parser.c
+++ b/gmime/gmime-parser.c
@@ -180,7 +180,7 @@ struct _GMimeParserPrivate {
BoundaryStack *bounds;
};
-#define MBOX_BOUNDARY "From "
+static const char MBOX_BOUNDARY[6] = "From ";
#define MBOX_BOUNDARY_LEN 5
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]