summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2015-05-27 19:30:11 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-05-27 19:30:11 +0200
commit887c7f409a5768b654f867a64dacdec98625454d (patch)
tree508a2ebc8c2f0c3fc54204432b50b39bebcfff61
parent931bd39639ab159a332feb7378953691dc36918d (diff)
downloadwlassistant-887c7f409a5768b654f867a64dacdec98625454d.tar.gz
wlassistant-887c7f409a5768b654f867a64dacdec98625454d.zip
Fix missing return
This resolves Bug 2439 Signed-off-by: François Andriot <francois.andriot@free.fr>
-rw-r--r--src/watools.cpp2
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;
}