This is an automated email from the git hooks/post-receive script.
rharwood pushed a change to branch master in repository gssproxy.
from 60aee2c Fix double free of popt context when querying version new adb74c0 Style fixes
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: proxy/src/client/gpm_common.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master in repository gssproxy.
commit adb74c062e46363dfac99fabc674edcdef2de698 Author: Simo Sorce simo@redhat.com Date: Thu Aug 31 14:52:17 2017 -0400
Style fixes
Signed-off-by: Simo Sorce simo@redhat.com Reviewed-by: Robbie Harwood rharwood@redhat.com Merges: #210 --- proxy/src/client/gpm_common.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c index 6a1b1fe..b50127a 100644 --- a/proxy/src/client/gpm_common.c +++ b/proxy/src/client/gpm_common.c @@ -185,7 +185,8 @@ static int gpm_release_sock(struct gpm_ctx *gpmctx) return pthread_mutex_unlock(&gpmctx->lock); }
-static void gpm_timer_close(struct gpm_ctx *gpmctx) { +static void gpm_timer_close(struct gpm_ctx *gpmctx) +{ if (gpmctx->timerfd < 0) { return; } @@ -194,7 +195,8 @@ static void gpm_timer_close(struct gpm_ctx *gpmctx) { gpmctx->timerfd = -1; }
-static int gpm_timer_setup(struct gpm_ctx *gpmctx, int timeout_seconds) { +static int gpm_timer_setup(struct gpm_ctx *gpmctx, int timeout_seconds) +{ int ret; struct itimerspec its;
@@ -202,7 +204,8 @@ static int gpm_timer_setup(struct gpm_ctx *gpmctx, int timeout_seconds) { gpm_timer_close(gpmctx); }
- gpmctx->timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK | TFD_CLOEXEC); + gpmctx->timerfd = timerfd_create(CLOCK_MONOTONIC, + TFD_NONBLOCK | TFD_CLOEXEC); if (gpmctx->timerfd < 0) { return errno; } @@ -222,7 +225,8 @@ static int gpm_timer_setup(struct gpm_ctx *gpmctx, int timeout_seconds) { return 0; }
-static void gpm_epoll_close(struct gpm_ctx *gpmctx) { +static void gpm_epoll_close(struct gpm_ctx *gpmctx) +{ if (gpmctx->epollfd < 0) { return; } @@ -231,7 +235,8 @@ static void gpm_epoll_close(struct gpm_ctx *gpmctx) { gpmctx->epollfd = -1; }
-static int gpm_epoll_setup(struct gpm_ctx *gpmctx) { +static int gpm_epoll_setup(struct gpm_ctx *gpmctx) +{ struct epoll_event ev; int ret;
@@ -257,7 +262,8 @@ static int gpm_epoll_setup(struct gpm_ctx *gpmctx) { return ret; }
-static int gpm_epoll_wait(struct gpm_ctx *gpmctx, uint32_t event_flags) { +static int gpm_epoll_wait(struct gpm_ctx *gpmctx, uint32_t event_flags) +{ int ret; int epoll_ret; struct epoll_event ev;
gss-proxy@lists.fedorahosted.org