Changeset 2189
- Timestamp:
- 06/17/07 13:15:29
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
r2162 r2189 3479 3479 { 3480 3480 /* We read-away everything non-blocking and process it */ 3481 3482 3481 resp = NULL; 3483 3482 while (camel_imap_store_readline_nb (store, &resp, &ex) > 0) 3484 3483 { 3485 /* printf ("resp: %s\n", resp); */3486 3484 if (strchr (resp, '*') != NULL && (strstr (resp, "EXISTS") || 3487 3485 strstr (resp, "FETCH")|| strstr (resp, "EXPUNGE") || … … 3492 3490 read_idle_response (folder, resp, idle_resp); 3493 3491 } 3494 idle_debug ("(.., ..) <- %s | in idle_deal_with_stuff at nb\n", resp); 3492 idle_debug ("(%d, ..) <- %s | in idle_deal_with_stuff at nb\n", 3493 strlen (resp), resp); 3495 3494 g_free (resp); resp=NULL; 3496 3495 } … … 3509 3508 3510 3509 if (store->ostream && CAMEL_IS_STREAM (store->ostream)) { 3511 idle_debug ("(.., ..) -> DONE | Sending DONE in idle_deal_with_stuff (nb)\n");3512 3510 nwritten = camel_stream_printf (store->ostream, "DONE\r\n"); 3511 idle_debug ("(%d, 8) -> DONE | Sending DONE in idle_deal_with_stuff (nb)\n", 3512 nwritten); 3513 3513 } 3514 3514 … … 3528 3528 read_idle_response (folder, resp, idle_resp); 3529 3529 } 3530 idle_debug ("(.., ..) <- %s | in idle_deal_with_stuff at idle\n", resp); 3530 idle_debug ("(%d, ..) <- %s | in idle_deal_with_stuff at idle\n", 3531 strlen (resp), resp); 3531 3532 g_free (resp); resp=NULL; 3532 3533 } … … 3541 3542 /* Trying to deal while the current folder is gone: just read away everything */ 3542 3543 if (store->ostream && CAMEL_IS_STREAM (store->ostream)) { 3543 idle_debug ("(.., ..) -> DONE | Sending DONE in idle_deal_with_stuff (b)\n");3544 3544 nwritten = camel_stream_printf (store->ostream, "DONE\r\n"); 3545 idle_debug ("(%d, 8) -> DONE | Sending DONE in idle_deal_with_stuff (b)\n", 3546 nwritten); 3545 3547 } 3546 3548 if (nwritten == -1)
