Project

General

Profile

mod_magnet.patch

Fix typo in mod_magnet.c - flynn, 2016-11-02 14:40

View differences:

src/mod_magnet.c 2016-11-02 15:38:40.529206478 +0100
667 667

  
668 668
       /* __newindex: param 1 is the (empty) table the value is supposed to be set in */
669 669
       const_buffer key = magnet_checkconstbuffer(L, 2);
670
       const_buffer val = magnet_checkconstbuffer(L, 2);
670
       const_buffer val = magnet_checkconstbuffer(L, 3);
671 671

  
672 672
       array_set_key_value(con->environment, key.ptr, key.len, val.ptr, val.len);
673 673