diff options
author | Walter de Jong <walter@heiho.net> | 2013-03-22 22:45:06 +0100 |
---|---|---|
committer | Walter de Jong <walter@heiho.net> | 2013-03-22 22:48:46 +0100 |
commit | 09e617195b1015ade429a713f96129ec63352e06 (patch) | |
tree | cda15bbdc2f687c6bd4d852263772df0dbc493f0 /libtac | |
parent | 33f6c8c8092251cd634100c2bcab1dcf8e202c18 (diff) | |
download | pam_tacplus-09e617195b1015ade429a713f96129ec63352e06.tar.gz pam_tacplus-09e617195b1015ade429a713f96129ec63352e06.zip |
fix C++/C99 style comments
Diffstat (limited to 'libtac')
-rw-r--r-- | libtac/lib/acct_r.c | 2 | ||||
-rw-r--r-- | libtac/lib/read_wait.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |