steinm          Tue Mar 13 22:33:46 2001 EDT

  Modified files:              
    /php4/ext/hyperwave hw.c 
  Log:
  -fixed prototype and indention
  
  
Index: php4/ext/hyperwave/hw.c
diff -u php4/ext/hyperwave/hw.c:1.79 php4/ext/hyperwave/hw.c:1.80
--- php4/ext/hyperwave/hw.c:1.79        Sun Feb 25 22:06:57 2001
+++ php4/ext/hyperwave/hw.c     Tue Mar 13 22:33:45 2001
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: hw.c,v 1.79 2001/02/26 06:06:57 andi Exp $ */
+/* $Id: hw.c,v 1.80 2001/03/14 06:33:45 steinm Exp $ */
 
 #include <stdlib.h>
 #include <errno.h>
@@ -244,7 +244,7 @@
        }
 
        hidden = collhead = fullcollhead = total = 0;
-        collheadnr = fullcollheadnr = -1;
+       collheadnr = fullcollheadnr = -1;
        for(i=0; i<count; i++) {
                /* Fill the array with entries. No need to free objrecs[i], since
                 * it is not duplicated in add_next_index_string().
@@ -1326,7 +1326,7 @@
 }
 /* }}} */
 
-/* {{{ proto string hw_getobject(int link, int objid [, string linkroot])
+/* {{{ proto string hw_getobject(int link, int objid [, string query])
    Returns object record  */
 PHP_FUNCTION(hw_getobject) {
        pval **argv[3];
@@ -1370,8 +1370,9 @@
                zval **keydata;
 
                lht = (*argv[1])->value.ht;
-               if(0 == (count = zend_hash_num_elements(lht)))
+               if(0 == (count = zend_hash_num_elements(lht))) {
                        RETURN_FALSE;
+               }
                ids = emalloc(count * sizeof(hw_objectID));
 
                zend_hash_internal_pointer_reset(lht);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to