diff options
| author | Christian Göttsche | 2023-11-26 15:14:36 +0100 |
|---|---|---|
| committer | Christian Göttsche | 2023-11-26 21:18:56 +0100 |
| commit | 5582bb48818d4f94f548b535e77b0ec6e251abd3 (patch) | |
| tree | eacae6a1c55183ec213aa04c23848d30c15cdd26 /src | |
| parent | efd086cc894c04a919b5e1b7729a1490f73d9231 (diff) | |
Fix typos
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_config.c | 2 | ||||
| -rw-r--r-- | src/sp_crypt.h | 2 | ||||
| -rw-r--r-- | src/tests/broken_configuration/broken_conf_expecting_bool.phpt | 2 | ||||
| -rw-r--r-- | src/tests/broken_configuration/broken_conf_readonly_exec.phpt | 2 | ||||
| -rw-r--r-- | src/tests/broken_configuration/broken_conf_session_encryption.phpt | 2 | ||||
| -rw-r--r-- | src/tests/broken_configuration/broken_conf_unserialize.phpt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/sp_config.c b/src/sp_config.c index 5db511e..60c379a 100644 --- a/src/sp_config.c +++ b/src/sp_config.c | |||
| @@ -110,7 +110,7 @@ SP_PARSEKW_FN(parse_empty) { | |||
| 110 | return SP_PARSER_ERROR; | 110 | return SP_PARSER_ERROR; |
| 111 | } | 111 | } |
| 112 | if (kw->argtype != SP_ARGTYPE_EMPTY) { | 112 | if (kw->argtype != SP_ARGTYPE_EMPTY) { |
| 113 | sp_log_err("config", "Missing paranthesis for keyword '%s' - it should be '%s()' on line %zu", token, token, kw->lineno); | 113 | sp_log_err("config", "Missing parenthesis for keyword '%s' - it should be '%s()' on line %zu", token, token, kw->lineno); |
| 114 | return SP_PARSER_ERROR; | 114 | return SP_PARSER_ERROR; |
| 115 | } | 115 | } |
| 116 | *(bool *)retval = true; | 116 | *(bool *)retval = true; |
diff --git a/src/sp_crypt.h b/src/sp_crypt.h index 22a571e..0960fbf 100644 --- a/src/sp_crypt.h +++ b/src/sp_crypt.h | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | #include "ext/standard/base64.h" | 11 | #include "ext/standard/base64.h" |
| 12 | 12 | ||
| 13 | void generate_key(unsigned char *key); | 13 | void generate_key(unsigned char *key); |
| 14 | int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hask_key); | 14 | int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key); |
| 15 | zend_string *encrypt_zval(zend_string *); | 15 | zend_string *encrypt_zval(zend_string *); |
| 16 | 16 | ||
| 17 | #endif /*__SP_CRYPT */ | 17 | #endif /*__SP_CRYPT */ |
diff --git a/src/tests/broken_configuration/broken_conf_expecting_bool.phpt b/src/tests/broken_configuration/broken_conf_expecting_bool.phpt index 38417b9..1009794 100644 --- a/src/tests/broken_configuration/broken_conf_expecting_bool.phpt +++ b/src/tests/broken_configuration/broken_conf_expecting_bool.phpt | |||
| @@ -7,7 +7,7 @@ sp.configuration_file={PWD}/config/broken_conf_expecting_bool.ini | |||
| 7 | error_log=/dev/null | 7 | error_log=/dev/null |
| 8 | --FILE-- | 8 | --FILE-- |
| 9 | --EXPECT-- | 9 | --EXPECT-- |
| 10 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing paranthesis for keyword 'enable' - it should be 'enable()' on line 5 in Unknown on line 0 | 10 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing parenthesis for keyword 'enable' - it should be 'enable()' on line 5 in Unknown on line 0 |
| 11 | 11 | ||
| 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 |
| 13 | Could not startup. | 13 | Could not startup. |
diff --git a/src/tests/broken_configuration/broken_conf_readonly_exec.phpt b/src/tests/broken_configuration/broken_conf_readonly_exec.phpt index a53024e..3e2f0fd 100644 --- a/src/tests/broken_configuration/broken_conf_readonly_exec.phpt +++ b/src/tests/broken_configuration/broken_conf_readonly_exec.phpt | |||
| @@ -11,7 +11,7 @@ error_log=/dev/null | |||
| 11 | echo 1; | 11 | echo 1; |
| 12 | ?> | 12 | ?> |
| 13 | --EXPECTF-- | 13 | --EXPECTF-- |
| 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing paranthesis for keyword 'enable' - it should be 'enable()' on line 1 in Unknown on line 0 | 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing parenthesis for keyword 'enable' - it should be 'enable()' on line 1 in Unknown on line 0 |
| 15 | 15 | ||
| 16 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | 16 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 |
| 17 | Could not startup. | 17 | Could not startup. |
diff --git a/src/tests/broken_configuration/broken_conf_session_encryption.phpt b/src/tests/broken_configuration/broken_conf_session_encryption.phpt index 0a031c8..dcefaf5 100644 --- a/src/tests/broken_configuration/broken_conf_session_encryption.phpt +++ b/src/tests/broken_configuration/broken_conf_session_encryption.phpt | |||
| @@ -7,7 +7,7 @@ sp.configuration_file={PWD}/config/broken_conf_session_encryption.ini | |||
| 7 | error_log=/dev/null | 7 | error_log=/dev/null |
| 8 | --FILE-- | 8 | --FILE-- |
| 9 | --EXPECT-- | 9 | --EXPECT-- |
| 10 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing paranthesis for keyword 'encrypt' - it should be 'encrypt()' on line 1 in Unknown on line 0 | 10 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing parenthesis for keyword 'encrypt' - it should be 'encrypt()' on line 1 in Unknown on line 0 |
| 11 | 11 | ||
| 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 |
| 13 | Could not startup. | 13 | Could not startup. |
diff --git a/src/tests/broken_configuration/broken_conf_unserialize.phpt b/src/tests/broken_configuration/broken_conf_unserialize.phpt index e897388..913ab82 100644 --- a/src/tests/broken_configuration/broken_conf_unserialize.phpt +++ b/src/tests/broken_configuration/broken_conf_unserialize.phpt | |||
| @@ -11,7 +11,7 @@ error_log=/dev/null | |||
| 11 | echo 1; | 11 | echo 1; |
| 12 | ?> | 12 | ?> |
| 13 | --EXPECTF-- | 13 | --EXPECTF-- |
| 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing paranthesis for keyword 'enable' - it should be 'enable()' on line 1 in Unknown on line 0 | 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Missing parenthesis for keyword 'enable' - it should be 'enable()' on line 1 in Unknown on line 0 |
| 15 | 15 | ||
| 16 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | 16 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 |
| 17 | Could not startup. | 17 | Could not startup. |
