koreader / lj-wpaclient

wpa_supplicant client library for LuaJIT
7 stars 3 forks source link

something wrong with the second example code #4

Closed mmsoon closed 4 years ago

mmsoon commented 6 years ago

In the second example "Listen for events",

while true do
...
done

here done should be end, otherwise it can't run under luajit, my luajit version is 2.1.0-beta3.

Frenzie commented 6 years ago

Same version we use, but I guess the example is outdated. Feel free to submit a PR; I won't for another few days at least. :-)