From: Adam Dickmeiss Date: Mon, 12 Jan 2004 12:10:44 +0000 (+0000) Subject: Use displayTerm in zoomsh X-Git-Tag: YAZ.2.0.9.6~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f1fef5aeb2f4aad16d5c66e7ed4b58def0a26464;p=yaz-moved-to-github.git Use displayTerm in zoomsh --- diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index 20894e0..342e546 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -1,5 +1,5 @@ /* - * $Id: zoomsh.c,v 1.24 2003-11-25 23:19:59 adam Exp $ + * $Id: zoomsh.c,v 1.25 2004-01-12 12:10:44 adam Exp $ * * ZOOM-C Shell */ @@ -355,7 +355,8 @@ static void cmd_scan (ZOOM_connection *c, ZOOM_resultset *r, { int occ = 0; int len = 0; - const char *term = ZOOM_scanset_term(s[i], p, &occ, &len); + const char *term = ZOOM_scanset_display_term(s[i], p, + &occ, &len); fwrite(term, 1, len, stdout); printf (" %d\n", occ); }