From 2a9b69ca393068eb4502bdd92754aabfbf5e47cc Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Fri, 25 Feb 2005 05:56:19 +0000 Subject: [PATCH] update calls to read_cursor request to use the position argument. do not 2005-02-25 Harish Krishnaswamy * camel-groupwise-store.c: (groupwise_get_folder): update calls to read_cursor request to use the position argument. do not use the position cursor calls anymore. --- camel/providers/groupwise/ChangeLog | 7 +++++++ camel/providers/groupwise/camel-groupwise-store.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index 037f768..05ae1af 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,10 @@ +2005-02-25 Harish Krishnaswamy + + * camel-groupwise-store.c: (groupwise_get_folder): + update calls to read_cursor request to use the + position argument. do not use the position cursor + calls anymore. + 2005-02-23 Sankar P * camel-groupwise-folder.c: (groupwise_folder_get_message): diff --git a/camel/providers/groupwise/camel-groupwise-store.c b/camel/providers/groupwise/camel-groupwise-store.c index 31443ff..57d93eb 100644 --- a/camel/providers/groupwise/camel-groupwise-store.c +++ b/camel/providers/groupwise/camel-groupwise-store.c @@ -485,6 +485,7 @@ groupwise_get_folder (CamelStore *store, const char *folder_name, guint32 flags, GList *list = NULL ; GSList *slist = NULL, *sl ; gboolean done = FALSE ; + const char *position = E_GW_CURSOR_POSITION_END; int count = 0, cursor, summary_count = 0 ; storage_path = g_strdup_printf ("%s/folders", priv->storage_path); @@ -623,7 +624,7 @@ groupwise_get_folder (CamelStore *store, const char *folder_name, guint32 flags, int temp = 0 ; status = e_gw_connection_read_cursor (priv->cnc, container_id, cursor, FALSE, - CURSOR_ITEM_LIMIT, &list) ; + CURSOR_ITEM_LIMIT, position, &list) ; if (status != E_GW_CONNECTION_STATUS_OK) { CAMEL_SERVICE_UNLOCK (gw_store, connect_lock); camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_INVALID, _("Authentication failed")); @@ -648,6 +649,7 @@ groupwise_get_folder (CamelStore *store, const char *folder_name, guint32 flags, done = TRUE; g_list_free (list); list = NULL; + position = E_GW_CURSOR_POSITION_CURRENT; } e_gw_connection_destroy_cursor (priv->cnc, container_id, cursor) ; -- 2.7.4