From: Andi Gutmans Date: Wed, 21 Mar 2001 20:07:19 +0000 (+0000) Subject: - Fix spelling error X-Git-Tag: php-4.0.6RC1~609 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=022ece781419218952ab101f71950e8029dbcb96;p=php - Fix spelling error --- 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;