Fixed several prototypes.. Most changes are f() to f(void).
[idzebra-moved-to-github.git] / test / api / t15.c
index ea7f31c..01300ba 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: t15.c,v 1.5 2006-05-30 13:06:35 adam Exp $
-   Copyright (C) 2004-2005
+/* $Id: t15.c,v 1.8 2006-09-20 19:29:25 adam Exp $
+   Copyright (C) 2004-2006
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 #if HAVE_SYS_STAT_H
@@ -42,7 +42,6 @@ static void update_process(ZebraService zs, int iter)
     {
        const char *rec = "<gils><title>some</title></gils>";
        ZebraHandle zh = zebra_open(zs, 0);
-       // printf("update_record i=%d\n", i);
        zebra_add_record(zh, rec, strlen(rec));
        if ((i % 30) == 0 || i == iter-1)
            zebra_commit(zh);
@@ -126,7 +125,7 @@ static void tst(int argc, char **argv)
     }
 #endif
 #endif
-
+    YAZ_CHECK(tl_close_down(0, zs));
 }
 
 TL_MAIN