Skip to content

Commit

Permalink
s/z/s/g
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Dec 5, 2013
1 parent 7c95367 commit 484fd3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mosquitto_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ZEND_BEGIN_ARG_INFO(Mosquitto_Message_topicMatchesSub_args, ZEND_SEND_BY_VAL)
ZEND_ARG_INFO(0, subscription)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(Mosquitto_Message_tokenizeTopic_args, ZEND_SEND_BY_VAL)
ZEND_BEGIN_ARG_INFO(Mosquitto_Message_tokeniseTopic_args, ZEND_SEND_BY_VAL)
ZEND_ARG_INFO(0, topic)
ZEND_END_ARG_INFO()

Expand Down Expand Up @@ -61,8 +61,8 @@ PHP_METHOD(Mosquitto_Message, topicMatchesSub)
}
/* }}} */

/* {{{ Mosquitto\Message::tokenizeTopic() */
PHP_METHOD(Mosquitto_Message, tokenizeTopic)
/* {{{ Mosquitto\Message::tokeniseTopic() */
PHP_METHOD(Mosquitto_Message, tokeniseTopic)
{
char *topic = NULL, **topics = NULL;
int topic_len = 0, retval = 0, count = 0, i = 0;
Expand All @@ -73,10 +73,10 @@ PHP_METHOD(Mosquitto_Message, tokenizeTopic)
return;
}

retval = mosquitto_sub_topic_tokenize(topic, &topics, &count);
retval = mosquitto_sub_topic_tokenise(topic, &topics, &count);

if (retval == MOSQ_ERR_NOMEM) {
zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to tokenize topic");
zend_throw_exception_ex(mosquitto_ce_exception, 0 TSRMLS_CC, "Failed to tokenise topic");
return;
}

Expand Down Expand Up @@ -389,7 +389,7 @@ static zend_object_value mosquitto_message_object_new(zend_class_entry *ce TSRML
const zend_function_entry mosquitto_message_methods[] = {
PHP_ME(Mosquitto_Message, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(Mosquitto_Message, topicMatchesSub, Mosquitto_Message_topicMatchesSub_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(Mosquitto_Message, tokenizeTopic, Mosquitto_Message_tokenizeTopic_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(Mosquitto_Message, tokeniseTopic, Mosquitto_Message_tokeniseTopic_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_FE_END
};

Expand Down

0 comments on commit 484fd3c

Please sign in to comment.