felipe                                   Sat, 21 Nov 2009 19:43:00 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291120

Log:
- Fixed bug #50258 (typos in error strings)

Bug: http://bugs.php.net/50258 (Open) typos in error strings
      
Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/soap/php_encoding.c
    U   php/php-src/branches/PHP_5_2/ext/soap/soap.c
    U   php/php-src/branches/PHP_5_3/ext/soap/php_encoding.c
    U   php/php-src/trunk/ext/soap/php_encoding.c

Modified: php/php-src/branches/PHP_5_2/ext/soap/php_encoding.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/soap/php_encoding.c        2009-11-21 
18:56:40 UTC (rev 291119)
+++ php/php-src/branches/PHP_5_2/ext/soap/php_encoding.c        2009-11-21 
19:43:00 UTC (rev 291120)
@@ -372,7 +372,7 @@
                HashTable *ht = Z_OBJPROP_P(data);

                if (zend_hash_find(ht, "enc_type", sizeof("enc_type"), (void 
**)&ztype) == FAILURE) {
-                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' propery");
+                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' property");
                }

                if (zend_hash_find(ht, "enc_stype", sizeof("enc_stype"), (void 
**)&zstype) == SUCCESS) {

Modified: php/php-src/branches/PHP_5_2/ext/soap/soap.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/soap/soap.c        2009-11-21 18:56:40 UTC 
(rev 291119)
+++ php/php-src/branches/PHP_5_2/ext/soap/soap.c        2009-11-21 19:43:00 UTC 
(rev 291120)
@@ -2335,7 +2335,7 @@
                            Z_TYPE_PP(tmp) == IS_STRING) {
                                add_property_stringl(this_ptr, "uri", 
Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), 1);
                        } else {
-                               php_error_docref(NULL TSRMLS_CC, E_ERROR, 
"'uri' option is requred in nonWSDL mode");
+                               php_error_docref(NULL TSRMLS_CC, E_ERROR, 
"'uri' option is required in nonWSDL mode");
                                return;
                        }

@@ -2362,7 +2362,7 @@
                    Z_TYPE_PP(tmp) == IS_STRING) {
                        add_property_stringl(this_ptr, "location", 
Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp), 1);
                } else if (wsdl == NULL) {
-                       php_error_docref(NULL TSRMLS_CC, E_ERROR, "'location' 
option is requred in nonWSDL mode");
+                       php_error_docref(NULL TSRMLS_CC, E_ERROR, "'location' 
option is required in nonWSDL mode");
                        return;
                }

@@ -2490,7 +2490,7 @@
                }

        } else if (wsdl == NULL) {
-               php_error_docref(NULL TSRMLS_CC, E_ERROR, "'location' and 'uri' 
options are requred in nonWSDL mode");
+               php_error_docref(NULL TSRMLS_CC, E_ERROR, "'location' and 'uri' 
options are required in nonWSDL mode");
                return;
        }


Modified: php/php-src/branches/PHP_5_3/ext/soap/php_encoding.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/soap/php_encoding.c        2009-11-21 
18:56:40 UTC (rev 291119)
+++ php/php-src/branches/PHP_5_3/ext/soap/php_encoding.c        2009-11-21 
19:43:00 UTC (rev 291120)
@@ -373,7 +373,7 @@
                HashTable *ht = Z_OBJPROP_P(data);

                if (zend_hash_find(ht, "enc_type", sizeof("enc_type"), (void 
**)&ztype) == FAILURE) {
-                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' propery");
+                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' property");
                }

                if (zend_hash_find(ht, "enc_stype", sizeof("enc_stype"), (void 
**)&zstype) == SUCCESS) {

Modified: php/php-src/trunk/ext/soap/php_encoding.c
===================================================================
--- php/php-src/trunk/ext/soap/php_encoding.c   2009-11-21 18:56:40 UTC (rev 
291119)
+++ php/php-src/trunk/ext/soap/php_encoding.c   2009-11-21 19:43:00 UTC (rev 
291120)
@@ -375,7 +375,7 @@
                char *stype_str = NULL, *ns_str = NULL;

                if (zend_hash_find(ht, "enc_type", sizeof("enc_type"), (void 
**)&ztype) == FAILURE) {
-                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' propery");
+                       soap_error0(E_ERROR, "Encoding: SoapVar hasn't 
'enc_type' property");
                }

                if (zend_hash_find(ht, "enc_stype", sizeof("enc_stype"), (void 
**)&zstype) == SUCCESS) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to