moonbridge

changeset 290:70f047d32a0f

Changed error messages for moonbridge_io.poll(...)
author jbe
date Sun Jun 11 23:06:26 2017 +0200 (2017-06-11)
parents 76bede490cdf
children cdf02d09202a
files moonbridge_io.c
line diff
     1.1 --- a/moonbridge_io.c	Sun Jun 11 12:53:18 2017 +0200
     1.2 +++ b/moonbridge_io.c	Sun Jun 11 23:06:26 2017 +0200
     1.3 @@ -1755,7 +1755,7 @@
     1.4    }
     1.5    if (use_timeout < 0) {
     1.6      lua_pushboolean(L, 0);
     1.7 -    lua_pushliteral(L, "Negative timeout");
     1.8 +    lua_pushliteral(L, "Timeout");
     1.9      if (check_sigterm) {
    1.10        lua_pushboolean(L, 0);
    1.11        return 3;
    1.12 @@ -1785,7 +1785,7 @@
    1.13      }
    1.14    } else if (status == 0) {
    1.15      lua_pushboolean(L, 0);
    1.16 -    lua_pushliteral(L, "Timeout while waiting for I/O");
    1.17 +    lua_pushliteral(L, "Timeout");
    1.18      if (check_sigterm) {
    1.19        lua_pushboolean(L, 0);
    1.20        return 3;

Impressum / About Us