/[imapfilter]/imapfilter/imap.c
ViewVC logotype

Diff of /imapfilter/imap.c

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

revision 1.45 by lefcha, Sat Feb 14 19:14:43 2004 UTC revision 1.46 by lefcha, Sat Feb 14 22:48:04 2004 UTC
# Line 227  imap_subscribe(connection_t * conn, char Line 227  imap_subscribe(connection_t * conn, char
227    
228  /*  /*
229   * IMAP EXAMINE: access a mailbox in READ-ONLY mode.   * IMAP EXAMINE: access a mailbox in READ-ONLY mode.
230   *   */
231  int  int
232  imap_examine(connection_t *conn, char *mbox)  imap_examine(connection_t * conn, char *mbox)
233  {  {
234    
235          buffer_reset(&obuf);          buffer_reset(&obuf);
236          buffer_check(&obuf, strlen("EXAMINE") + strlen(mbox) + 15);          buffer_check(&obuf, strlen("EXAMINE") + strlen(mbox) + 15);
237    
238          snprintf(obuf.data, MEDIUM_CMD, "%04X EXAMINE \"%s\"\r\n", tag, mbox);          snprintf(obuf.data, obuf.size, "%04X EXAMINE \"%s\"\r\n", tag, mbox);
239    
240          return send_command(conn, obuf.data, NULL);          return send_command(conn, obuf.data, NULL);
241  }*/  }
242    
243    
244  /*  /*

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26