summaryrefslogtreecommitdiff
path: root/ext/hyperwave
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>1999-12-07 10:49:19 +0000
committerUwe Steinmann <steinm@php.net>1999-12-07 10:49:19 +0000
commit512c641794e1b6f5895cfdf80b4907e693ab5398 (patch)
treeafeb0b9918e8987be049dd2b18dbb182982c8a8f /ext/hyperwave
parent5cdb16ad0970be48b20fc44ee90c68560d134427 (diff)
downloadphp-git-512c641794e1b6f5895cfdf80b4907e693ab5398.tar.gz
- Several small corrections, typos, ...
Diffstat (limited to 'ext/hyperwave')
-rw-r--r--ext/hyperwave/hg_comm.c4
-rw-r--r--ext/hyperwave/hw.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/hyperwave/hg_comm.c b/ext/hyperwave/hg_comm.c
index 915c4e1ce4..b0629b918f 100644
--- a/ext/hyperwave/hg_comm.c
+++ b/ext/hyperwave/hg_comm.c
@@ -226,7 +226,7 @@ int fnCmpAnchors(ANCHOR *a1, ANCHOR *a2)
* int ancount: number of anchors *
* Return: List of Anchors, NULL if error *
***********************************************************************/
-DLIST *fnCreateAnchorList(hw_objectID objectID, char **anchors, char **docofanchorrec, char **reldestrec, int ancount, int anchormode)
+DLIST *fnCreateAnchorList(hw_objectID objID, char **anchors, char **docofanchorrec, char **reldestrec, int ancount, int anchormode)
{
int start, end, i, destid, anchordestid, objectID;
ANCHOR *cur_ptr = NULL;
@@ -299,7 +299,7 @@ DLIST *fnCreateAnchorList(hw_objectID objectID, char **anchors, char **docofanch
/* This is basically for NAME tags. There is no need
to add the destname if it is the document itself.
*/
-/* if(destid == objectID) {
+/* if(destid == objID) {
cur_ptr->destdocname = NULL;
} else { */
/* It's always nice to deal with names, so let's first check
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index a40b7b45b2..80a37b61d8 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -1317,7 +1317,7 @@ PHP_FUNCTION(hw_getobject) {
link=argv[0]->value.lval;
ptr = php3_list_find(link,&type);
if(!ptr || (type!=HwSG(le_socketp) && type!=HwSG(le_psocketp))) {
- php_error(E_WARNING,"Unable to find file identifier %d",id);
+ php_error(E_WARNING,"Unable to find file identifier %d", link);
RETURN_FALSE;
}