diff options
author | François Andriot <francois.andriot@free.fr> | 2015-05-27 19:30:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-05-27 19:30:11 +0200 |
commit | 887c7f409a5768b654f867a64dacdec98625454d (patch) | |
tree | 508a2ebc8c2f0c3fc54204432b50b39bebcfff61 /src | |
parent | 931bd39639ab159a332feb7378953691dc36918d (diff) | |
download | wlassistant-887c7f409a5768b654f867a64dacdec98625454d.tar.gz wlassistant-887c7f409a5768b654f867a64dacdec98625454d.zip |
Fix missing return
This resolves Bug 2439
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'src')
-rw-r--r-- | src/watools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/watools.cpp b/src/watools.cpp index 5814274..252c791 100644 --- a/src/watools.cpp +++ b/src/watools.cpp @@ -192,6 +192,8 @@ int WATools::availableNetworks( const char* _ifname ) //returns a list of availa i++; } while (scan = scan->next); printf( "WATools: Networks found: %i\n", i ); + + return i; } |