2007.
[idzebra-moved-to-github.git] / index / zebrasrv.c
index 613febb..7112234 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: zebrasrv.c,v 1.3 2006-12-05 09:26:37 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: zebrasrv.c,v 1.5 2007-01-15 15:10:17 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -630,7 +630,8 @@ int bend_esrequest (void *handle, bend_esrequest_rr *rr)
                                     rec->u.octet_aligned->len,
                                     rec->u.octet_aligned->buf);
                    }
-                    if (oident && oident->value != VAL_TEXT_XML)
+                    if (oident && oident->value != VAL_TEXT_XML 
+                        && oident->value != VAL_SUTRS)
                     {
                         rr->errcode = YAZ_BIB1_ES_IMMEDIATE_EXECUTION_FAILED;
                         rr->errstring = "only XML update supported";