summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-ngx_postgres_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/nginx-devel/files/extra-patch-ngx_postgres_util.c')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_postgres_util.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_postgres_util.c b/www/nginx-devel/files/extra-patch-ngx_postgres_util.c
deleted file mode 100644
index 569c753935f7..000000000000
--- a/www/nginx-devel/files/extra-patch-ngx_postgres_util.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- ../ngx_postgres-1.0rc5-1-g49855a0/src/ngx_postgres_util.c.orig 2015-05-28 02:58:30.914607000 +0300
-+++ ../ngx_postgres-1.0rc5-1-g49855a0/src/ngx_postgres_util.c 2015-05-28 02:59:57.539743000 +0300
-@@ -61,10 +61,8 @@
- u->resolved->ctx = NULL;
- }
-
-- if (u->state && u->state->response_sec) {
-- tp = ngx_timeofday();
-- u->state->response_sec = tp->sec - u->state->response_sec;
-- u->state->response_msec = tp->msec - u->state->response_msec;
-+ if (u->state && u->state->response_time) {
-+ u->state->response_time = ngx_current_msec - u->state->response_time;
-
- if (u->pipe) {
- u->state->response_length = u->pipe->read_length;