Changeset 5121:29faa739ed01

Show
Ignore:
Timestamp:
2007-04-11 07:37:53 (21 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Do not attempt to parse idata->ctx->path if an explicit path is given

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • imap/util.c

    r5118 r5121  
    8484  char mbox[LONG_STRING]; 
    8585 
    86   if (imap_parse_path (idata->ctx->path, &mx) < 0) 
    87     return NULL; 
    88  
    8986  if (path) 
    9087    imap_cachepath (idata, path, mbox, sizeof (mbox)); 
    9188  else 
    9289  { 
     90    if (imap_parse_path (idata->ctx->path, &mx) < 0) 
     91      return NULL; 
     92 
    9393    imap_cachepath (idata, mx.mbox, mbox, sizeof (mbox)); 
    9494    FREE (&mx.mbox);