[mw-devel] [Git][arthur/mw][master] Autoexec functions were run before any processing happened on the
Justin Mitchell
arthur at sucs.org
Tue Jan 12 15:19:33 GMT 2016
Justin Mitchell pushed to branch master at Justin Mitchell / mw
Commits:
2963fb70 by Justin Mitchell at 2016-01-12T15:18:27Z
Autoexec functions were run before any processing happened on the
incoming message pipe. added a quick call to idle to give it a chance. fixes #9
- - - - -
1 changed file:
- src/client/main.c
Changes:
=====================================
src/client/main.c
=====================================
--- a/src/client/main.c
+++ b/src/client/main.c
@@ -695,6 +695,11 @@ int main(int argc, char **argv)
init_colour();
RoomInit(&user->room);
update_user(user);
+
+ /* give the incoming pipe a chance to process before
+ * we run the autoexec functions, so wholist etc can arrive */
+ idle( -1, 1);
+
/* run all board init functions */
RunInitFuncs(0);
/* broadcast board logon signal to other users */
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/2963fb709cc1108667fc6fd3656319afc2c70ea3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20160112/edfd921f/attachment.html>
More information about the mw-devel
mailing list