Changeset 3026
- Timestamp:
- 11/28/07 19:28:47
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/pvanhoof/bs/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-folder.c
r3025 r3026 4461 4461 CamelImapStore *store = NULL; 4462 4462 ssize_t nread = 0; 4463 FILE *f = NULL;4463 FILE *fil = NULL; 4464 4464 gboolean ctchecker = FALSE; 4465 4465 … … 4507 4507 retry = FALSE; 4508 4508 4509 f = fopen (path, "w");4510 4511 if (!f || fd == -1) {4509 fil = fopen (path, "w"); 4510 4511 if (!fil || fd == -1) { 4512 4512 err = TRUE; 4513 4513 ex_id = CAMEL_EXCEPTION_SERVICE_UNAVAILABLE; … … 4516 4516 } 4517 4517 4518 fd = fileno (f );4518 fd = fileno (fil); 4519 4519 4520 4520 if (binary && *binary && store->capabilities & IMAP_CAPABILITY_BINARY) … … 4573 4573 store->capabilities &= ~IMAP_CAPABILITY_BINARY; 4574 4574 retry = TRUE; 4575 fclose (fil); 4576 fil = NULL; 4577 unlink (path); 4575 4578 g_free (path); 4576 4579 path = g_strdup_printf ("%s/%s_%s_ENCODED", imap_folder->cache->path, uid, spec); … … 4803 4806 } 4804 4807 4805 if (f )4806 fclose (f );4808 if (fil) 4809 fclose (fil); 4807 4810 stop_gmsgstore (imap_folder, ctchecker, FALSE); 4808 4811 } … … 4815 4818 4816 4819 4817 if (f )4818 fclose (f );4820 if (fil) 4821 fclose (fil); 4819 4822 4820 4823 if (!err_message)
