X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=zoom%2Fzoomsh.c;h=8b790f15102abfc3700b2b1f1265af631b277ad7;hb=dc4414aeda179bc8ebe3fc46ac53e4a24d265d16;hp=5f99d663c2976be8ccf5226175cc497a70c9e984;hpb=17eb2fd28b9e01e9c80c55a0fcc48fd866082bfc;p=yaz-moved-to-github.git diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index 5f99d66..8b790f1 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: zoomsh.c,v 1.42 2006-10-31 14:08:03 adam Exp $ + * $Id: zoomsh.c,v 1.47 2007-04-17 20:26:19 adam Exp $ */ /** \file zoomsh.c @@ -28,7 +28,6 @@ #include #include #include -#include #define MAX_CON 100 @@ -204,10 +203,8 @@ static void display_records (ZOOM_connection c, /* if rec is non-null, we got a record for display */ if (rec) { - char oidbuf[100]; - (void) oid_name_to_dotstring(CLASS_RECSYN, syntax, oidbuf); - printf ("%d %s %s (%s)\n", - pos, (db ? db : "unknown"), syntax, oidbuf); + printf ("%d %s %s\n", + pos, (db ? db : "unknown"), syntax); if (render) fwrite (render, 1, len, stdout); printf ("\n"); @@ -647,9 +644,7 @@ int main(int argc, char **argv) int mask = yaz_log_mask_str(maskstr); yaz_log_init_level(mask); } - nmem_init(); zoomsh(argc, argv); - nmem_exit(); exit (0); } /*