Changeset 4465:11d366f0c81a for buffy.c
Legend:
- Unmodified
- Added
- Removed
-
buffy.c
r4439 r4465 287 287 288 288 #ifdef USE_IMAP 289 BuffyCount += imap_buffy_check (force); 290 289 291 if (!Context || Context->magic != M_IMAP) 290 292 #endif … … 301 303 for (tmp = Incoming; tmp; tmp = tmp->next) 302 304 { 305 #ifndef USE_IMAP 303 306 tmp->new = 0; 304 305 #ifdef USE_IMAP 306 if (mx_is_imap (tmp->path)) 307 tmp->magic = M_IMAP; 308 else 309 #endif 307 #endif 308 310 309 #ifdef USE_POP 311 310 if (mx_is_pop (tmp->path)) … … 399 398 BuffyCount++; 400 399 break; 401 402 #ifdef USE_IMAP403 case M_IMAP:404 if ((tmp->new = imap_mailbox_check (tmp->path, 1)) > 0)405 BuffyCount++;406 else407 tmp->new = 0;408 409 break;410 #endif411 412 #ifdef USE_POP413 case M_POP:414 break;415 #endif416 400 } 417 401 }
