X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomsh.c;h=af47ecd957a508a0e094bea231f951a223569986;hb=9ee70f4c22c4990e7fe62a5238caa6b4e71f6a0f;hp=aaf68994b5e38d09afb43d4a5cfb7d5d02a43cfb;hpb=6607d0bd04b26591614a84a9aa9bad7e7b00e7e9;p=yaz-moved-to-github.git diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index aaf6899..af47ecd 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -1,9 +1,12 @@ /* - * $Id: zoomsh.c,v 1.23 2003-07-14 12:59:23 adam Exp $ + * Copyright (c) 2002-2004, Index Data. + * See the file LICENSE for details. * - * ZOOM-C Shell + * $Id: zoomsh.c,v 1.27 2004-02-23 09:26:11 adam Exp $ */ +/* ZOOM-C Shell */ + #include #include #include @@ -220,15 +223,19 @@ static void cmd_ext (ZOOM_connection *c, ZOOM_resultset *r, const char **args) { ZOOM_package p[MAX_CON]; + char ext_type_str[10]; int i; + + if (next_token_copy (args, ext_type_str, sizeof(ext_type_str)) < 0) + return; for (i = 0; i