~spuul/nginx/trunk

« back to all changes in this revision

Viewing changes to debian/modules/nginx-lua/src/ngx_http_lua_time.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-02-15 03:05:42 UTC
  • mfrom: (4.3.10 sid)
  • Revision ID: package-import@ubuntu.com-20140215030542-71ubtowl24vf7nfn
Tags: 1.4.5-1ubuntu1
* Resynchronise with Debian (LP: #1280511).  Remaining changes:
  - debian/patches/ubuntu-branding.patch:
    + Add Ubuntu branding to server_tokens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
{
190
190
    ngx_http_request_t  *r;
191
191
 
192
 
    lua_pushlightuserdata(L, &ngx_http_lua_request_key);
193
 
    lua_rawget(L, LUA_GLOBALSINDEX);
194
 
    r = lua_touserdata(L, -1);
195
 
    lua_pop(L, 1);
196
 
 
 
192
    r = ngx_http_lua_get_req(L);
197
193
    if (r == NULL) {
198
194
        return luaL_error(L, "no request found");
199
195
    }