Use NULL instead of 0 for pointers

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-11-18 22:07:30 +02:00
parent b5472a450f
commit e159cc5e9b
5 changed files with 8 additions and 8 deletions

View file

@ -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;
}