parenthesize NB_ENCNAMELEN value
This commit is contained in:
parent
cc2fc9b3bd
commit
d6eaa60e05
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: netbios.h,v 1.2 2002/01/04 02:39:38 deberg Exp $ */
|
/* $NetBSD: netbios.h,v 1.3 2003/03/27 11:22:29 jdolecek Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000-2001 Boris Popov
|
* Copyright (c) 2000-2001 Boris Popov
|
||||||
@ -56,7 +56,7 @@
|
|||||||
#define NBPROTO_IPXSSN 11 /* NETBIOS over IPX */
|
#define NBPROTO_IPXSSN 11 /* NETBIOS over IPX */
|
||||||
|
|
||||||
#define NB_NAMELEN 16
|
#define NB_NAMELEN 16
|
||||||
#define NB_ENCNAMELEN NB_NAMELEN * 2
|
#define NB_ENCNAMELEN (NB_NAMELEN * 2)
|
||||||
#define NB_MAXLABLEN 63
|
#define NB_MAXLABLEN 63
|
||||||
|
|
||||||
#define NB_MINSALEN (sizeof(struct sockaddr_nb))
|
#define NB_MINSALEN (sizeof(struct sockaddr_nb))
|
||||||
|
Loading…
Reference in New Issue
Block a user