fix python and php modules to compile for 1.15.5

This commit is contained in:
Jean-Francois Dockes 2011-03-08 23:06:57 +01:00
parent 7eb7bd52bb
commit 400d220c57
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ PHP_METHOD(Query, query)
// jf: the original implementation built an AND clause. It would
// be nice to offer an option, but the next best thing is to
// default to the query language
sd = wasaStringToRcl(qs, reason);
sd = wasaStringToRcl(rclconfig, qs, reason);
if (!sd) {
cerr << "Query string interpretation failed: " << reason << endl;

View File

@ -642,7 +642,7 @@ Query_execute(recoll_QueryObject* self, PyObject *args, PyObject *kwargs)
return 0;
}
string reason;
Rcl::SearchData *sd = wasaStringToRcl(utf8, reason);
Rcl::SearchData *sd = wasaStringToRcl(rclconfig, utf8, reason);
if (!sd) {
PyErr_SetString(PyExc_ValueError, reason.c_str());