underlying ZOOM-C function doesn't set the strings when there's no
error (unlike ZOOM_connection_error()), this situation leaves the
Perl/C interface code trying to marshal junk pointers.
-/* $Id: ZOOM.xs,v 1.44 2006-11-28 16:47:19 mike Exp $ */
+/* $Id: ZOOM.xs,v 1.45 2006-11-28 17:32:54 mike Exp $ */
#include "EXTERN.h"
#include "perl.h"
const char* &diagset
CODE:
{
- const char *ccp, *caddinfo, *cdset;
+ const char *ccp = "", *caddinfo = "", *cdset = "";
RETVAL = ZOOM_record_error(rec, &ccp, &caddinfo, &cdset);
cp = (char*) ccp;
addinfo = (char*) caddinfo;