Use NULL instead of 0 for pointers
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b5472a450f
commit
e159cc5e9b
5 changed files with 8 additions and 8 deletions
|
@ -22,7 +22,7 @@
|
|||
void * dh5_init(struct wpabuf **priv, struct wpabuf **publ)
|
||||
{
|
||||
*publ = dh_init(dh_groups_get(5), priv);
|
||||
if (*publ == 0)
|
||||
if (*publ == NULL)
|
||||
return NULL;
|
||||
return (void *) 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue