[evolution-data-server] Remove redundant 'tokenend' field from CamelIMAPXStream
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove redundant 'tokenend' field from CamelIMAPXStream
- Date: Wed, 8 Sep 2010 09:59:24 +0000 (UTC)
commit 0493f925e7d2e5a3db6297464c997c0e4ba3ea78
Author: David Woodhouse <David Woodhouse intel com>
Date: Wed Sep 8 10:35:26 2010 +0100
Remove redundant 'tokenend' field from CamelIMAPXStream
camel/providers/imapx/camel-imapx-stream.c | 1 -
camel/providers/imapx/camel-imapx-stream.h | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-stream.c b/camel/providers/imapx/camel-imapx-stream.c
index 76c7eda..58e9191 100644
--- a/camel/providers/imapx/camel-imapx-stream.c
+++ b/camel/providers/imapx/camel-imapx-stream.c
@@ -209,7 +209,6 @@ camel_imapx_stream_init (CamelIMAPXStream *is)
/* +1 is room for appending a 0 if we need to for a token */
is->ptr = is->end = is->buf = g_malloc(CAMEL_IMAPX_STREAM_SIZE+1);
is->tokenptr = is->tokenbuf = g_malloc(CAMEL_IMAPX_STREAM_SIZE+1);
- is->tokenend = is->tokenbuf + CAMEL_IMAPX_STREAM_SIZE;
}
/**
diff --git a/camel/providers/imapx/camel-imapx-stream.h b/camel/providers/imapx/camel-imapx-stream.h
index 4b0f6a2..33555bb 100644
--- a/camel/providers/imapx/camel-imapx-stream.h
+++ b/camel/providers/imapx/camel-imapx-stream.h
@@ -73,7 +73,7 @@ struct _CamelIMAPXStream {
guchar *unget_token;
guint unget_len;
- guchar *tokenbuf, *tokenptr, *tokenend;
+ guchar *tokenbuf, *tokenptr;
};
struct _CamelIMAPXStreamClass {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]