[dovecot-cvs] dovecot/src/lib-imap imap-message-cache.c,1.23,1.24
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Sun Nov  3 10:39:45 EET 2002
    
        - Previous message: [dovecot-cvs] dovecot/src/lib-charset .cvsignore,NONE,1.1 Makefile.am,NONE,1.1 charset-ascii.c,NONE,1.1 charset-iconv.c,NONE,1.1 charset-utf8.h,NONE,1.1
 
        - Next message: [dovecot-cvs] dovecot/src/lib-mail message-header-search.c,NONE,1.1 message-header-search.h,NONE,1.1 Makefile.am,1.3,1.4
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv3305/src/lib-imap
Modified Files:
	imap-message-cache.c 
Log Message:
SEARCH CHARSET support. Currently we do it through iconv() and only ASCII   
characters are compared case-insensitively.
Index: imap-message-cache.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-message-cache.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- imap-message-cache.c	28 Oct 2002 09:46:03 -0000	1.23
+++ imap-message-cache.c	3 Nov 2002 08:39:43 -0000	1.24
@@ -477,6 +477,8 @@
 
 	msg = cache->open_msg;
 	if (inbuf != NULL) {
+		if (msg->hdr_size == NULL)
+			cache_fields(cache, IMAP_CACHE_MESSAGE_HDR_SIZE);
 		offset = hdr_size != NULL ? 0 :
 			msg->hdr_size->physical_size;
 		if (!imap_msgcache_get_inbuf(cache, offset))
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/lib-charset .cvsignore,NONE,1.1 Makefile.am,NONE,1.1 charset-ascii.c,NONE,1.1 charset-iconv.c,NONE,1.1 charset-utf8.h,NONE,1.1
 
	- Next message: [dovecot-cvs] dovecot/src/lib-mail message-header-search.c,NONE,1.1 message-header-search.h,NONE,1.1 Makefile.am,1.3,1.4
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list