Wireshark-commits: [Wireshark-commits] master 4a37458: lua: fix reload with -Xlua_script
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 Apr 2016 21:48:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4a37458c5d2ac918dabbb9d3fde029e3eb30fa04
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4a37458 by Peter Wu (peter@xxxxxxxxxxxxx):

    lua: fix reload with -Xlua_script
    
    Use ex_opt_get_nth instead of ex_opt_get_next to avoid consuming the
    parameters. This ensures that lua scripts via the "-Xlua_script"
    parameter are also reloaded.
    
    Change-Id: I316726cdf99f7ee3d738d3632a7f639ea8596f96
    Reviewed-on: https://code.wireshark.org/review/14870
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  1e287f1   [Automatic update for 2016-04-10]
    adds  4a37458   lua: fix reload with -Xlua_script


Summary of changes:
 epan/wslua/init_wslua.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)