Changeset 367:7a3e51056fb3 for buffy.c
Legend:
- Unmodified
- Added
- Removed
-
buffy.c
r101 r367 21 21 #include "mx.h" 22 22 #include "mailbox.h" 23 #ifdef USE_IMAP 24 #include "imap.h" 25 #endif 23 26 24 27 #include <string.h> … … 243 246 tmp->new = 0; 244 247 248 #ifdef USE_IMAP 249 if ((tmp->magic == M_IMAP) || mx_is_imap (tmp->path)) 250 { 251 tmp->magic = M_IMAP; 252 } 253 else 254 #endif 245 255 if (stat (tmp->path, &sb) != 0 || 246 256 (!tmp->magic && (tmp->magic = mx_get_magic (tmp->path)) <= 0)) … … 317 327 } 318 328 break; 329 330 #ifdef USE_IMAP 331 case M_IMAP: 332 if (imap_buffy_check (tmp->path) > 0) 333 { 334 BuffyCount++; 335 tmp->new = 1; 336 } 337 break; 338 #endif 319 339 } 320 340 }
