From: Michael Wallner Date: Thu, 23 Oct 2014 07:45:43 +0000 (+0200) Subject: fix missing bit X-Git-Tag: v0.5.3~2 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=be24136365afeab1553ffa589e4bfe6c49bc64fa;hp=7d954192543192f2ef9b0db27f22b7807de31749 fix missing bit --- diff --git a/src/php_pq_misc.h b/src/php_pq_misc.h index 9967f1f..6ca2f31 100644 --- a/src/php_pq_misc.h +++ b/src/php_pq_misc.h @@ -36,8 +36,8 @@ const char *php_pq_strmode(long mode); /* compare array index */ int php_pq_compare_index(const void *lptr, const void *rptr TSRMLS_DC); -#define PHP_PQerrorMessage(c) rtrim(PQerrorMessage((c))) -#define PHP_PQresultErrorMessage(r) rtrim(PQresultErrorMessage((r))) +#define PHP_PQerrorMessage(c) php_pq_rtrim(PQerrorMessage((c))) +#define PHP_PQresultErrorMessage(r) php_pq_rtrim(PQresultErrorMessage((r))) zend_class_entry *php_pqdt_class_entry; zval *php_pqdt_from_string(char *datetime_str, size_t datetime_len, char *fmt, zval *zv TSRMLS_DC);