Changeset 3082
- Timestamp:
- 2002-04-10T11:43:56+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/yaz/client/yaz_zclient.c
r2650 r3082 3 3 * See the file LICENSE for details. 4 4 * Sebastian Hammer, Adam Dickmeiss 5 *6 * $Log$7 * Revision 1.4 2001/07/12 03:33:16 jrm218 * added an error check - now returns an error string for some errors instead of9 * continuing (and later causing problems).10 *11 * Revision 1.3 2001/06/13 04:22:26 jrm2112 * don't add <a href> tags for USMARC field 856 (online access), as it is not13 * guaranteed to be a URL - just some text describing online access...14 *15 * Revision 1.2 2000/10/26 06:37:46 jrm2116 * Now makes hyperlinks for MARC field 856 (Electronic Access/Location),17 * so you too can point and click...18 *19 * Revision 1.1 2000/08/03 03:10:01 johnmcp20 * Added the YAZ toolkit source to the packages directory (for z39.50 stuff)21 *22 * Revision 1.1.2.1 2000/05/24 23:24:29 johnmcp23 * added some of the YAZ toolkit code for z39.50 client.24 *25 * Revision 1.95 2000/02/28 11:20:05 adam26 * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.27 5 * 28 6 */ … … 1794 1772 default: 1795 1773 if (whichtag>=90&&whichtag<=99) 1796 tagname="<tr><td> (obsolete field)Call #:</td><td>";1774 tagname="<tr><td>Local Call #:</td><td>"; 1797 1775 else { 1798 1776 /*tagname=field_other;*/ 1799 1777 1800 /*.*********** Following line "causes" (ie exposes) a seg fault 1801 in realloc(title,...). What is causing this????. 1802 ANSWER: The trailing '\0' needs to be explicit :-) */ 1778 /* The trailing '\0' seems to be necessary...?!? */ 1803 1779 sprintf(tag_num,"<tr><td>(field %d)</td><td>\n\0",whichtag); 1804 1780 tagname=tag_num;
Note:
See TracChangeset
for help on using the changeset viewer.