Share

Gmail API

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

GmailAgent.GmailAdapter.cs Quota change helps

You are viewing a single message from this topic. View all messages.

  1. 2007-03-03 16:43:23 UTC
    Hi All,

    I thought y'all might like to know that when I changed the GmailAgent.GmailAdapter.cs to get the value of the array GmailAgent.Applet worked much better.

    Namaste,
    Dale E. Moore

    PS: Here's the Diff:
    RCS file: /cvsroot/gmail-api/GmailAgent/GmailAdapter.cs,v
    retrieving revision 1.11
    diff -u -r1.11 GmailAdapter.cs
    --- GmailAdapter.cs 28 Aug 2005 21:51:28 -0000 1.11
    +++ GmailAdapter.cs 3 Mar 2007 16:23:06 -0000
    @@ -1345,8 +1345,8 @@
    }
    break;
    case "qu": // quota information
    - this._session.Quota = int.Parse(((string)tmpArray[1]).Substring(0, tmpArray[1].ToString().Length - 3));
    - this._session.MailboxSize = int.Parse(((string)tmpArray[0]).Substring(0, tmpArray[0].ToString().Length -3));
    + this._session.Quota = int.Parse((string)tmpArray[1]);
    + this._session.MailboxSize = int.Parse((string)tmpArray[0]);
    break;
    case "fi": // filters
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.