~ubuntu-branches/ubuntu/trusty/luasocket/trusty

« back to all changes in this revision

Viewing changes to etc/dispatch.lua

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Tassi
  • Date: 2007-12-27 02:03:37 UTC
  • mfrom: (3.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20071227020337-dch6u5sztqwj8l97
Tags: 2.0.2-3
* Renamed luasocket-doc.docs to liblua-socket-doc.docs so that
  documentation is ipart of the package (Closes: #457891)
* Added Vcs-Browser and removed XS-X- from Vcs-Svn
* Bumped Standards-Version to 3.7.3
* Placed -dev and -doc packages in the right sections
* Added documentation to every dpatch patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
      if not status then
57
57
        if type(results[1]) == 'table' then
58
58
          return nil, results[1][1]
59
 
        else error(results[1]) end
 
59
        else base.error(results[1]) end
60
60
      end
61
61
      if coroutine.status(co) == "suspended" then
62
62
        arg = {coroutine.yield(base.unpack(results))}
219
219
            operation.cortn[tcp] = cortn
220
220
            operation.stamp[tcp] = socket.gettime()
221
221
        end
222
 
    else error(operation) end
 
222
    else base.error(operation) end
223
223
end
224
224
 
225
225
function kick(operation, tcp)