Skip to content

Commit

Permalink
Fix build warning for PHP 5
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Nov 22, 2018
1 parent 7274991 commit 6e455e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster_library.c
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ PHP_REDIS_API short cluster_send_command(redisCluster *c, short slot, const char
long msstart;

if (!SLOT(c, slot)) {
zend_throw_exception_ex(redis_cluster_exception_ce, 0,
zend_throw_exception_ex(redis_cluster_exception_ce, 0 TSRMLS_CC,
"The slot %d is not covered by any node in this cluster", slot);
return -1;
}
Expand Down

0 comments on commit 6e455e2

Please sign in to comment.