PERFORCE change 153886 for review
Robert Watson
rwatson at FreeBSD.org
Mon Dec 1 04:56:48 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153886
Change 153886 by rwatson at 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) +
More information about the p4-projects
mailing list