diff options
-rw-r--r-- | ext/pfpro/pfpro.c | 16 | ||||
-rw-r--r-- | ext/pfpro/php_pfpro.h | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ext/pfpro/pfpro.c b/ext/pfpro/pfpro.c index ff83cea154..2be78d2a5f 100644 --- a/ext/pfpro/pfpro.c +++ b/ext/pfpro/pfpro.c @@ -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 */ diff --git a/ext/pfpro/php_pfpro.h b/ext/pfpro/php_pfpro.h index b035f98ba9..31d21c3bd0 100644 --- a/ext/pfpro/php_pfpro.h +++ b/ext/pfpro/php_pfpro.h @@ -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; |