Fix leak for odr_print of ZOOM connection.
[yaz-moved-to-github.git] / src / query-charset.c
index 421ad52..2aa571b 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
- * All rights reserved.
- *
- * $Id: query-charset.c,v 1.2 2007-04-10 14:42:31 adam Exp $
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
+ * See the file LICENSE for details.
  */
 
 /** \file query-charset.c
@@ -25,7 +23,7 @@ void yaz_query_charset_convert_buf(char *buf_in, int len_in,
 
     *len_out = wrbuf_len(wrbuf);
     if (*len_out == 0)
-    {   // we assume conversion failed
+    {   /* we assume conversion failed */
         *buf_out = buf_in;
         *len_out = len_in;
     }
@@ -99,6 +97,7 @@ void yaz_query_charset_convert_apt(Z_AttributesPlusTerm *apt,
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab