From ad3fdbb2e15e1590efe955c3561aff964c972353 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Fri, 22 May 2009 02:10:26 +0000 Subject: THIS: socket now uses xlator_notify for setting THIS Signed-off-by: Anand V. Avati --- transport/socket/src/socket.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'transport') diff --git a/transport/socket/src/socket.c b/transport/socket/src/socket.c index 4af064f3b7b..a1e088b9444 100644 --- a/transport/socket/src/socket.c +++ b/transport/socket/src/socket.c @@ -416,7 +416,7 @@ socket_event_poll_err (transport_t *this) } pthread_mutex_unlock (&priv->lock); - this->xl->notify (this->xl, GF_EVENT_POLLERR, this); + xlator_notify (this->xl, GF_EVENT_POLLERR, this); return ret; } @@ -442,7 +442,7 @@ socket_event_poll_out (transport_t *this) } pthread_mutex_unlock (&priv->lock); - this->xl->notify (this->xl, GF_EVENT_POLLOUT, this); + xlator_notify (this->xl, GF_EVENT_POLLOUT, this); return ret; } @@ -710,7 +710,7 @@ socket_event_poll_in (transport_t *this) just to keep the last_received timestamp ticking */ if (ret == 0) - ret = this->xl->notify (this->xl, GF_EVENT_POLLIN, this); + ret = xlator_notify (this->xl, GF_EVENT_POLLIN, this); return ret; } @@ -778,7 +778,7 @@ unlock: pthread_mutex_unlock (&priv->lock); if (notify_xlator) - this->xl->notify (this->xl, event, this); + xlator_notify (this->xl, event, this); return 0; } -- cgit