Do not check unsigned size is less than zero
authorJouni Malinen <j@w1.fi>
Tue, 23 Jun 2015 18:12:29 +0000 (21:12 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 23 Jun 2015 18:16:15 +0000 (21:16 +0300)
commitc1a14ef42f1decf308133a133aa1cd429093fdec
tree3d29b7f3a6619f576b4e20365e8cb7e133ffd518
parentfdc5608c125c21975728df1f526ebe1fd232f48e
Do not check unsigned size is less than zero

The variables here are unsigned and as such, cannot have a negative
value. Use == 0 instead of <= 0 to make this cleaner.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/dbus/dbus_old_handlers.c
wpa_supplicant/events.c