View | Details | Raw Unified
Collapse All | Expand All

(-) cups-1.2.12/cgi-bin/search.c (-1 / +3 lines)
 Lines 171-177   cgiCompileSearch(const char *query) /* I Link Here 
      * string + RE overhead...
      * string + RE overhead...
      */
      */
      wlen = (sptr - s) + 4 * wlen + 2 * strlen(prefix) + 4;
      wlen = (sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11;
      if (lword)
        wlen += strlen(lword);
      if (wlen > slen)
      if (wlen > slen)
      {
      {