]> granicus.if.org Git - php/commitdiff
- Fix spelling error
authorAndi Gutmans <andi@php.net>
Wed, 21 Mar 2001 20:07:19 +0000 (20:07 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 21 Mar 2001 20:07:19 +0000 (20:07 +0000)
ext/pfpro/pfpro.c
ext/pfpro/php_pfpro.h

index ff83cea1540589d3d308fa3e94843c2abf537bdf..2be78d2a5f52128347902b70e155c9cbffda1817 100644 (file)
@@ -97,7 +97,7 @@ PHP_RINIT_FUNCTION(pfpro)
 {
        PFPROLS_FETCH();
 
-       PFPROG(initialised) = 0;
+       PFPROG(initialized) = 0;
 
     return SUCCESS;
 }
@@ -106,7 +106,7 @@ PHP_RSHUTDOWN_FUNCTION(pfpro)
 {
        PFPROLS_FETCH();
 
-       if (PFPROG(initialised) == 1) {
+       if (PFPROG(initialized) == 1) {
                PNCleanup();
        }
 
@@ -150,7 +150,7 @@ PHP_FUNCTION(pfpro_init)
 
        PNInit();
 
-       PFPROG(initialised) = 1;
+       PFPROG(initialized) = 1;
 
        RETURN_TRUE;
 }
@@ -168,7 +168,7 @@ PHP_FUNCTION(pfpro_cleanup)
 
        PNCleanup();
 
-       PFPROG(initialised) = 0;
+       PFPROG(initialized) = 0;
 
        RETURN_TRUE;
 }
@@ -275,9 +275,9 @@ PHP_FUNCTION(pfpro_process_raw)
 
        /* Initialise the library if needed */
 
-       if (PFPROG(initialised) == 0) {
+       if (PFPROG(initialized) == 0) {
                PNInit();
-               PFPROG(initialised) = 1;
+               PFPROG(initialized) = 1;
        }
 
        /* Perform the transaction */
@@ -520,9 +520,9 @@ PHP_FUNCTION(pfpro_process)
 
        /* Initialise the library if needed */
 
-       if (PFPROG(initialised) == 0) {
+       if (PFPROG(initialized) == 0) {
                PNInit();
-               PFPROG(initialised) = 1;
+               PFPROG(initialized) = 1;
        }
 
        /* Perform the transaction */
index b035f98ba981ca877b4a9548240cf103e844deab..31d21c3bd0829e45ec96db1bc52ea6d42dc49a86 100644 (file)
@@ -46,7 +46,7 @@ PHP_FUNCTION(pfpro_process);            /* Transaction processing     */
 
 typedef struct {
        int le_pfpro;
-       int initialised;
+       int initialized;
        char *defaulthost;
        int defaultport;
        int defaulttimeout;