/[imapfilter]/imapfilter/response.c
ViewVC logotype

Diff of /imapfilter/response.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by lefcha, Mon Oct 8 08:52:49 2001 UTC revision 1.9.2.2 by lefcha, Wed Oct 31 20:54:20 2001 UTC
# Line 182  int search_response(unsigned int tag, ch Line 182  int search_response(unsigned int tag, ch
182    
183      if ((c = strcasestr(buf, "SEARCH "))) {      if ((c = strcasestr(buf, "SEARCH "))) {
184          c += 7;          c += 7;
185          while (mesgs - m < 512 && (isdigit(*c) || *c == ' '))          while (m - mesgs < SEARCH_MESSAGES_BUF && (isdigit(*c) || *c == ' '))
186              *(m++) = *(c++);              *(m++) = *(c++);
187          *m = 0;          if (m - mesgs == SEARCH_MESSAGES_BUF)
188                *(strrchr(mesgs, ' ')) = 0;
189            else
190                *m = 0;
191      }      }
192        
193      return r;      return r;
194  }  }
195    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.2.2

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26