Remove redundant 'tokenend' field from CamelIMAPXStream
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 8 Sep 2010 09:35:26 +0000 (10:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 8 Sep 2010 09:35:26 +0000 (10:35 +0100)
camel/providers/imapx/camel-imapx-stream.c
camel/providers/imapx/camel-imapx-stream.h

index 76c7eda..58e9191 100644 (file)
@@ -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;
 }
 
 /**
index 4b0f6a2..33555bb 100644 (file)
@@ -73,7 +73,7 @@ struct _CamelIMAPXStream {
        guchar *unget_token;
        guint unget_len;
 
-       guchar *tokenbuf, *tokenptr, *tokenend;
+       guchar *tokenbuf, *tokenptr;
 };
 
 struct _CamelIMAPXStreamClass {