aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_tvb.c
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2009-07-08 14:20:59 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2009-07-08 14:20:59 +0000
commita909a692de0984f452fa7f4b0acf2d98e36a0318 (patch)
tree831bd0105c06560345d7e3c74edf72230cb198c7 /epan/wslua/wslua_tvb.c
parent1fd7f6fd96139db23bfcb2b088ecef46b86d5a0e (diff)
Minor documentation fix
svn path=/trunk/; revision=29021
Diffstat (limited to 'epan/wslua/wslua_tvb.c')
-rw-r--r--epan/wslua/wslua_tvb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c
index a7f6edddd5..7377da81a8 100644
--- a/epan/wslua/wslua_tvb.c
+++ b/epan/wslua/wslua_tvb.c
@@ -191,10 +191,10 @@ WSLUA_METHOD ByteArray_set_index(lua_State* L) {
WSLUA_METHOD ByteArray_get_index(lua_State* L) {
- /* Set the value of a byte in a ByteArray */
-#define WSLUA_ARG_ByteArray_set_index_INDEX 2 /* The position of the byte to be set */
+ /* Get the value of a byte in a ByteArray */
+#define WSLUA_ARG_ByteArray_get_index_INDEX 2 /* The position of the byte to get */
ByteArray ba = checkByteArray(L,1);
- int idx = luaL_checkint(L,WSLUA_ARG_ByteArray_set_index_INDEX);
+ int idx = luaL_checkint(L,WSLUA_ARG_ByteArray_get_index_INDEX);
if (!ba) return 0;