Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryanli <yanli@yanli-laptop.(none)>2011-12-07 11:36:13 +0400
committeryanli <yanli@yanli-laptop.(none)>2011-12-07 11:36:13 +0400
commitdd42be6a87edca47f3665e706fbf22b16e9836a6 (patch)
treedc1dcb0c5945e62cd66fa491bb30e74d289a9ffd /library.c
parent8686070e2a3cc1139b80370ba14f34a9d6d8b901 (diff)
change exception message
Diffstat (limited to 'library.c')
-rw-r--r--library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/library.c b/library.c
index 80b028a0..506407b5 100644
--- a/library.c
+++ b/library.c
@@ -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;