-/*
- * 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.
- *
- * $Id: zoomsh.c,v 1.49 2007-09-08 06:17:45 adam Exp $
*/
/** \file zoomsh.c
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
{