Skip to content

Commit

Permalink
Fixed version constant
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jan 14, 2014
1 parent 79b6bf2 commit 966c8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ PHP_MINIT_FUNCTION(yaf)

} else {
#endif
REGISTER_STRINGL_CONSTANT("PHP_YAF_VERSION", PHP_YAF_VERSION, sizeof(PHP_YAF_VERSION) - 1, CONST_PERSISTENT | CONST_CS);
REGISTER_STRINGL_CONSTANT("YAF_VERSION", PHP_YAF_VERSION, sizeof(PHP_YAF_VERSION) - 1, CONST_PERSISTENT | CONST_CS);
REGISTER_STRINGL_CONSTANT("YAF_ENVIRON", YAF_G(environ),strlen(YAF_G(environ)), CONST_PERSISTENT | CONST_CS);

REGISTER_LONG_CONSTANT("YAF_ERR_STARTUP_FAILED", YAF_ERR_STARTUP_FAILED, CONST_PERSISTENT | CONST_CS);
Expand Down

0 comments on commit 966c8ec

Please sign in to comment.