/[mailutils]/mailutils/mailbox/folder_imap.c
ViewVC logotype

Diff of /mailutils/mailbox/folder_imap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by sroberts, Mon Mar 25 03:46:11 2002 UTC revision 1.48 by gray, Thu Mar 28 17:39:06 2002 UTC
# Line 1103  imap_string (f_imap_t f_imap, char **ptr Line 1103  imap_string (f_imap_t f_imap, char **ptr
1103        break;        break;
1104      default:      default:
1105        /* Problem.  */        /* Problem.  */
1106          status = 1;
1107        break;        break;
1108      }      }
1109    return status;    return status;
# Line 1168  imap_list (f_imap_t f_imap) Line 1169  imap_list (f_imap_t f_imap)
1169      }      }
1170    /* Hiearchy delimeter.  */    /* Hiearchy delimeter.  */
1171    tok = strtok_r (NULL, " ", &sp);    tok = strtok_r (NULL, " ", &sp);
1172    if (tok && strlen (tok) > 2)    if (tok && strlen (tok) > 2 && strcasecmp (tok, "NIL"))
1173      lr->separator = tok[1];      lr->separator = tok[1];
1174    /* The path.  */    /* The path.  */
1175    tok = strtok_r (NULL, " ", &sp);    tok = strtok_r (NULL, " ", &sp);
# Line 1201  imap_list (f_imap_t f_imap) Line 1202  imap_list (f_imap_t f_imap)
1202            stream_truncate (f_imap->string.stream, 0);            stream_truncate (f_imap->string.stream, 0);
1203            f_imap->string.offset = 0;            f_imap->string.offset = 0;
1204            f_imap->string.nleft = 0;            f_imap->string.nleft = 0;
1205            }
1206          else
1207            {
1208              lr->name = strdup (tok);
1209              if (!lr->name)
1210                status = ENOMEM;
1211          }          }
1212      }      }
1213    return status;    return status;

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26