Date: Mon, 1 Dec 2008 12:56:47 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153886 for review Message-ID: <200812011256.mB1Culke052152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153886 Change 153886 by rwatson@rwatson_cinnamon_macosx on 2008/12/01 12:56:04 style(9) prefers we not initialize local variables with their declaration, so don't do that in au_to_header32_ex. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#80 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#80 (text+ko) ==== @@ -30,7 +30,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#79 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#80 $ */ #include <sys/types.h> @@ -1339,8 +1339,9 @@ token_t *t; u_char *dptr = NULL; u_int32_t timems; - au_tid_addr_t *tid = &aia->ai_termid; + au_tid_addr_t *tid; + tid = &aia->ai_termid; if (tid->at_type != AU_IPv4 && tid->at_type != AU_IPv6) return (NULL); GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812011256.mB1Culke052152>