Skip to content

Commit

Permalink
Actually assign the parameter to the array
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdm committed Dec 4, 2013
1 parent bb311bd commit fbabab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mosquitto.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ PHP_MOSQUITTO_API void php_mosquitto_disconnect_callback(struct mosquitto *mosq,

MAKE_STD_ZVAL(rc_zval);
ZVAL_LONG(rc_zval, rc);
params[0] = &rc_zval;

object->disconnect_callback.params = params;
object->disconnect_callback.param_count = 1;
Expand Down

0 comments on commit fbabab8

Please sign in to comment.