From 09e617195b1015ade429a713f96129ec63352e06 Mon Sep 17 00:00:00 2001 From: Walter de Jong Date: Fri, 22 Mar 2013 22:45:06 +0100 Subject: fix C++/C99 style comments --- libtac/lib/acct_r.c | 2 +- libtac/lib/read_wait.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libtac') diff --git a/libtac/lib/acct_r.c b/libtac/lib/acct_r.c index 766f645..16d7c1f 100644 --- a/libtac/lib/acct_r.c +++ b/libtac/lib/acct_r.c @@ -126,7 +126,7 @@ int tac_acct_read(int fd, struct areply *re) { msg=(char *) xcalloc(1, tb->msg_len+1); bcopy((u_char *) tb+TAC_ACCT_REPLY_FIXED_FIELDS_SIZE, msg, tb->msg_len); msg[(int)tb->msg_len] = '\0'; - re->msg = msg; // Freed by caller + re->msg = msg; /* Freed by caller */ } /* server logged our request successfully */ diff --git a/libtac/lib/read_wait.c b/libtac/lib/read_wait.c index e294c8f..52efa43 100644 --- a/libtac/lib/read_wait.c +++ b/libtac/lib/read_wait.c @@ -111,7 +111,7 @@ int tac_read_wait(int fd, int timeout, int size, int *time_left) { } } - if (rc < 0 && errno == EINTR) { // interrupt + if (rc < 0 && errno == EINTR) { /* interrupt */ continue; } -- cgit v1.2.3