Software /
code /
prosody
Annotate
plugins/mod_unknown.lua @ 10096:46a7792fdac5
util.poll: Add missing return statements in fallback mode
These allowed modifying or deleting select() state for unregistered FDs.
During normal usage this should never happen. Modifying one that isn't
set might cause weirdness but deleting an already deleted FD isn't a
problem.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Jul 2019 16:17:23 +0200 |
parent | 6003:28a90f5fea46 |
rev | line source |
---|---|
6003
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 -- Unknown platform stub |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 module:set_global(); |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 |
28a90f5fea46
modulemanager: Always load a platform-specific module, add stub modules for Windows and unknown platforms
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 -- TODO Do things that make sense if we don't know about the platform |