pike.git / lib / modules / Search.pmod / Utils.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/Utils.pmod:1:   // This file is part of Roxen Search   // Copyright © 2001 Roxen IS. All rights reserved.   // - // $Id: Utils.pmod,v 1.27 2001/08/19 14:34:52 nilsson Exp $ + // $Id: Utils.pmod,v 1.28 2001/08/20 19:52:54 js Exp $      #if !constant(report_error)   #define report_error werror   #endif      public array(string) tokenize_and_normalize( string what )   //! This can be optimized quite significantly when compared to   //! tokenize( normalize( x ) ) in the future, currently it's not all   //! that much faster, but still faster.   {
pike.git/lib/modules/Search.pmod/Utils.pmod:558:    417: "417 Client Error: Expectation Failed (%s)",    500: "500 Server Error: Internal Server Error (%s)",    501: "501 Server Error: Not Implemented (%s)",    502: "502 Server Error: Bad Gateway (%s)",    503: "503 Server Error: Service Unavailable (%s)",    504: "504 Server Error: Gateway Timeout (%s)",    505: "505 Server Error: HTTP Version Not Supported (%s)",       1000: "Disallowed by robots.txt. (%s)",    1001: "Can't handle scheme. (%s)", +  1002: "No matching filter. (%s)",    ]);          //!    array(array(string|int)) get_log( int profile, array(string) types,    int from, int to ) {       string sql = "";   #define SQLADD(X) do{sizeof(sql)?(sql+=" AND "+(X)):(sql=" WHERE "+(X));}while(0)    if(profile)