Change title
[yazpp-moved-to-github.git] / src / yaz-z-server-ursula.cpp
index 0bf2ca8..13be0f1 100644 (file)
@@ -2,23 +2,11 @@
  * Copyright (c) 2001, Index Data.
  * See the file LICENSE for details.
  * 
- * $Log: yaz-z-server-ursula.cpp,v $
- * Revision 1.4  2001-04-25 19:40:18  adam
- * Added refernceId handling for other services.
- *
- * Revision 1.3  2001/04/11 12:33:42  heikki
- * Working on ursula things
- *
- * Revision 1.2  2001/04/05 15:12:24  adam
- * WIN32 updates.
- *
- * Revision 1.1  2001/04/04 14:02:49  adam
- * URSULA / Z-ruth service.
- *
+ * $Id: yaz-z-server-ursula.cpp,v 1.7 2002-10-23 21:24:19 adam Exp $
  */
 
 #include <yaz/log.h>
-#include <yaz++/yaz-z-server.h>
+#include <yaz++/z-server.h>
 
 #if HAVE_YAZ_URSULA_H
 int Yaz_Facility_Ursula::init(Yaz_Z_Server *s, Z_InitRequest *initRequest,
@@ -47,7 +35,7 @@ int Yaz_Facility_Ursula::recv(Yaz_Z_Server *s, Z_APDU *apdu_request)
 
     if (r->which != ODR_EXTERNAL_octet)
     {
-       logf (LOG_LOG, "ursula::recv not octet alighed");
+       yaz_log (LOG_LOG, "ursula::recv not octet alighed");
         return 0;
     }
     odr_setbuf (s->odr_decode(), (char*) r->u.octet_aligned->buf,
@@ -55,7 +43,7 @@ int Yaz_Facility_Ursula::recv(Yaz_Z_Server *s, Z_APDU *apdu_request)
     Z_UrsPDU *pdu = 0;
     if (!z_UrsPDU (s->odr_decode(), &pdu, 0, ""))
     {
-       logf (LOG_LOG, "ursula::decode failed");
+       yaz_log (LOG_LOG, "ursula::decode failed");
        return 0;
     }
     yaz_log (LOG_LOG, "got ursula packet");