The branch, hooks has been updated
       via  3bcacea265ee98296fcda9f00b514fb4e0a3640d (commit)
      from  3115f5dff5ab1620cedcf94cac397d54d635a16b (commit)

- Log -----------------------------------------------------------------
commit 3bcacea265ee98296fcda9f00b514fb4e0a3640d
Author: Nicholas Marriott <nicholas.marri...@gmail.com>
Commit: Nicholas Marriott <nicholas.marri...@gmail.com>

    Use client fd not pointer.
---
 cmd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/cmd.c b/cmd.c
index 1489b79..0cec313 100644
--- a/cmd.c
+++ b/cmd.c
@@ -479,7 +479,8 @@ cmd_prepare_state(struct cmd *cmd, struct cmd_q *cmdq)
        int                      error;
 
        cmd_print(cmd, tmp, sizeof tmp);
-       log_debug("preparing state for: %s (client %p)", tmp, cmdq->client);
+       log_debug("preparing state for: %s (client %d)", tmp,
+           cmdq->client != NULL ? cmdq->client->ibuf.fd : -1);
 
        /* Start with an empty state. */
        cmd_clear_state(state);


-----------------------------------------------------------------------

Summary of changes:
 cmd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to