projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started work on using GNU TLS as an alterantive to OpenSSL.
[yaz-moved-to-github.git]
/
zoom
/
zoomsh.c
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
1668367
..
f575294
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: zoomsh.c,v 1.49 2007-09-08 06:17:45 adam Exp $
*/
/** \file zoomsh.c
*/
/** \file zoomsh.c
@@
-192,7
+190,7
@@
static void display_records(ZOOM_connection c,
int error = ZOOM_record_error(rec, &msg, &addinfo, &diagset);
printf("%d %s: %s (%s:%d) %s\n", pos, (db ? db : "unknown"),
int error = ZOOM_record_error(rec, &msg, &addinfo, &diagset);
printf("%d %s: %s (%s:%d) %s\n", pos, (db ? db : "unknown"),
- msg, diagset, error, addinfo);
+ msg, diagset, error, addinfo ? addinfo : "none");
}
else
{
}
else
{