Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Nov 26, 2023
2 parents efd086c + 5582bb4 commit 6c931c8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/sp_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ SP_PARSEKW_FN(parse_empty) {
return SP_PARSER_ERROR;
}
if (kw->argtype != SP_ARGTYPE_EMPTY) {
sp_log_err("config", "Missing paranthesis for keyword '%s' - it should be '%s()' on line %zu", token, token, kw->lineno);
sp_log_err("config", "Missing parenthesis for keyword '%s' - it should be '%s()' on line %zu", token, token, kw->lineno);
return SP_PARSER_ERROR;
}
*(bool *)retval = true;
Expand Down
2 changes: 1 addition & 1 deletion src/sp_crypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "ext/standard/base64.h"

void generate_key(unsigned char *key);
int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hask_key);
int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key);
zend_string *encrypt_zval(zend_string *);

#endif /*__SP_CRYPT */
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sp.configuration_file={PWD}/config/broken_conf_expecting_bool.ini
error_log=/dev/null
--FILE--
--EXPECT--
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
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

Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0
Could not startup.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ error_log=/dev/null
echo 1;
?>
--EXPECTF--
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
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

Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0
Could not startup.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sp.configuration_file={PWD}/config/broken_conf_session_encryption.ini
error_log=/dev/null
--FILE--
--EXPECT--
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
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

Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0
Could not startup.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ error_log=/dev/null
echo 1;
?>
--EXPECTF--
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
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

Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0
Could not startup.

0 comments on commit 6c931c8

Please sign in to comment.