diff options
author | yanli <yanli@yanli-laptop.(none)> | 2011-12-07 11:36:13 +0400 |
---|---|---|
committer | yanli <yanli@yanli-laptop.(none)> | 2011-12-07 11:36:13 +0400 |
commit | dd42be6a87edca47f3665e706fbf22b16e9836a6 (patch) | |
tree | dc1dcb0c5945e62cd66fa491bb30e74d289a9ffd /library.c | |
parent | 8686070e2a3cc1139b80370ba14f34a9d6d8b901 (diff) |
change exception message
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ PHPAPI char *redis_sock_read_bulk_reply(RedisSock *redis_sock, int bytes TSRMLS_ got = php_stream_read(redis_sock->stream, reply + offset, bytes-offset); if (got <= 0) { /* Error or EOF */ - zend_throw_exception_ex(redis_exception_ce, 0 TSRMLS_CC, "socket error \n"); + zend_throw_exception(redis_exception_ce, "socket error on read socket", 0 TSRMLS_CC); break; } offset += got; |