[Refdb-cvs] CVS: refdb/src risdata.c,1.5.2.1,1.5.2.2
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-05-29 16:55:19
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv469 Modified Files: Tag: Release_0_9_5_stable risdata.c Log Message: add empty otherinfo string if none is present Index: risdata.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/risdata.c,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -U2 -r1.5.2.1 -r1.5.2.2 --- risdata.c 13 Jul 2004 20:30:21 -0000 1.5.2.1 +++ risdata.c 29 May 2005 16:55:11 -0000 1.5.2.2 @@ -354,9 +354,10 @@ if (!otherinfo || !*otherinfo) { - /* we're done */ - return 0; + escape_buffer = strdup("///"); + } + else { + escape_buffer = strdup(otherinfo); } - escape_buffer = strdup(otherinfo); if (escape_buffer == NULL) { LOG_PRINT(LOG_WARNING, "malloc failed"); |