Update of /cvsroot/refdb/refdb/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26537
Modified Files:
Tag: Release_0_9_5_stable
mset.c
Log Message:
removed debug printf() calls
Index: mset.c
===================================================================
RCS file: /cvsroot/refdb/refdb/src/Attic/mset.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -U2 -r1.1.2.1 -r1.1.2.2
--- mset.c 17 Dec 2005 01:03:42 -0000 1.1.2.1
+++ mset.c 17 Dec 2005 01:36:33 -0000 1.1.2.2
@@ -60,8 +60,4 @@
}
-/* if (!pop_mset(ptr_first, current_mset)) { */
-/* *current_mset = '\0'; */
-/* no_close = 1; */
-/* } */
if (!ptr_first->ptr_next) {
*current_mset = '\0';
@@ -73,8 +69,6 @@
}
- printf("current:%s:new:%s:no_close=%d:stacksize:%d\n", current_mset, new_mset, no_close, ptr_first->stacksize);
if (/*(!(*current_mset == *new_mset && *current_mset == '\0')) || strcmp(current_mset, new_mset) != 0*/ 1) {
if (!*new_mset/* && *current_mset */ && !no_close) { /* dont add new bibliomset, but old one exists */
- printf("close only\n");
if ((new_ref = mstrcat(*ptr_ref, "</bibliomset>", ptr_ref_len, 0)) == NULL) {
return NULL;
@@ -86,5 +80,4 @@
}
else if (!no_close && *new_mset && strcmp(current_mset, new_mset)){ /* close old one, add new one */
- printf("close and open\n");
pop_mset(ptr_first, current_mset);
if ((new_ref = mstrcat(*ptr_ref, "</bibliomset><bibliomset relation=\"", ptr_ref_len, 0)) == NULL) {
@@ -109,5 +102,4 @@
}
else if (*new_mset && strcmp(current_mset, new_mset)) { /* add new one, no old one to close */
- printf("open only\n");
if ((new_ref = mstrcat(*ptr_ref, "<bibliomset relation=\"", ptr_ref_len, 0)) == NULL) {
return NULL;
@@ -131,7 +123,4 @@
}
}
-/* else if (!strcmp(current_mset, new_mset)) { */
-/* push_mset(ptr_first, new_mset); */
-/* } */
return *ptr_ref;
|