From: Mike Taylor Date: Mon, 24 Jul 2006 23:05:22 +0000 (+0000) Subject: Do not barf un unrecognised types of record specification in bend_fetch() X-Git-Tag: release.1.0.3~11 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b76d965f82b76a458000edb32eb55f97b5333caa;p=simpleserver-moved-to-github.git Do not barf un unrecognised types of record specification in bend_fetch() (I suspect GFS has changed in a way that makes these.) --- diff --git a/SimpleServer.xs b/SimpleServer.xs index c2fc4ec..6e2ba0e 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1,5 +1,5 @@ /* - * $Id: SimpleServer.xs,v 1.49 2006-07-21 22:14:12 mike Exp $ + * $Id: SimpleServer.xs,v 1.50 2006-07-24 23:05:22 mike Exp $ * ---------------------------------------------------------------------- * * Copyright (c) 2000-2004, Index Data. @@ -916,8 +916,11 @@ int bend_fetch(void *handle, bend_fetch_rr *rr) } else { +#if 0 /* For now ignore this error, which is ubiquitous in SRU */ + fprintf(stderr, "complex is weird\n"); rr->errcode = 26; return 0; +#endif /*0*/ } } else