Browse Source

lua-wsapi: Updated (1.3.4 -> 1.5)

stable/0.2
Alejandro Mery 14 years ago
parent
commit
5c9982cbc8
  1. 6
      lua/lua-wsapi/lua-wsapi.desc
  2. 28
      lua/lua-wsapi/nil_body.patch

6
lua/lua-wsapi/lua-wsapi.desc

@ -2,7 +2,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lua-wsapi/lua-wsapi.desc
[COPY] Copyright (C) 2008 - 2010 The OpenSDE Project
[COPY] Copyright (C) 2008 - 2011 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
@ -38,7 +38,7 @@
[L] MIT
[S] Stable
[V] 1.3.4
[V] 1.5
[P] X -?---5---9 800.000
[D] 4127147819 wsapi-1.3.4.tar.gz http://github.com/downloads/keplerproject/wsapi/
[D] 1892191535 wsapi-1.5.tar.gz !http://github.com/keplerproject/wsapi/tarball/v1.5

28
lua/lua-wsapi/nil_body.patch

@ -1,28 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../lua-wsapi/nil_body.patch
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./src/wsapi/common.lua.orig 2009-06-02 17:11:08.000000000 +0200
+++ ./src/wsapi/common.lua 2009-06-02 17:18:51.000000000 +0200
@@ -58,6 +58,9 @@
function send_content(out, res_iter, write_method)
local write = out[write_method or "write"]
+ if res_iter == nil then
+ return
+ end
local ok, res = xpcall(res_iter, debug.traceback)
while ok and res do
write(out, res)
Loading…
Cancel
Save