cvs: /php3/functions hg_comm.c
| From: | Uwe Steinmann | Date: | Fri, 16 Jul 1999 11:29:44 +0000 |
| Subject: | cvs: /php3/functions hg_comm.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8586@lists.php.net to get a copy of this message | ||
steinm Fri Jul 16 11:29:44 1999 EDT
Modified files:
/php3/functions hg_comm.c
Log:
removed unnecessary code for debugging
Index: php3/functions/hg_comm.c
diff -u php3/functions/hg_comm.c:1.26 php3/functions/hg_comm.c:1.27
--- php3/functions/hg_comm.c:1.26 Wed Jul 7 11:31:16 1999
+++ php3/functions/hg_comm.c Fri Jul 16 11:29:43 1999
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hg_comm.c,v 1.26 1999/07/07 15:31:16 steinm Exp $ */
+/* $Id: hg_comm.c,v 1.27 1999/07/16 15:29:43 steinm Exp $ */
/* #define HW_DEBUG */
@@ -520,7 +520,7 @@
break;
default:
newtext = fnInsStr(newtext, cur_ptr->end+offset, "</A>");
- snprintf(istr, BUFFERLEN, "<A HREF='%s' %s offset=%d>",
cur_ptr->link, cur_ptr->htmlattr == NULL ? "" : cur_ptr->htmlattr, offset);
+ snprintf(istr, BUFFERLEN, "<A HREF='%s' %s>", cur_ptr->link,
cur_ptr->htmlattr == NULL ? "" : cur_ptr->htmlattr);
}
} else {
switch(cur_ptr->linktype) {
@@ -555,7 +555,7 @@
if(cur_ptr->fragment)
snprintf(istr, BUFFERLEN, "<A HREF='%s/%s#%s' %s>", scriptname ==
NULL ? "" : scriptname, cur_ptr->destdocname, cur_ptr->fragment,
cur_ptr->htmlattr == NULL ? "" : cur_ptr->htmlattr);
else
- snprintf(istr, BUFFERLEN, "<A HREF='%s/%s' %s offset=%d>",
scriptname == NULL ? "" : scriptname, cur_ptr->destdocname, cur_ptr->htmlattr ==
NULL ? "" : cur_ptr->htmlattr, offset);
+ snprintf(istr, BUFFERLEN, "<A HREF='%s/%s' %s>", scriptname ==
NULL ? "" : scriptname, cur_ptr->destdocname, cur_ptr->htmlattr == NULL ?
"" : cur_ptr->htmlattr);
}
}
newtext = fnInsStr(newtext, cur_ptr->start, istr);