aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-08 14:20:59 +0000
committerrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-08 14:20:59 +0000
commitf47d64e935e132b442a70d2268717a8fed2810be (patch)
tree831bd0105c06560345d7e3c74edf72230cb198c7 /epan/wslua
parenta34996f5582881747795d8ad36d752a6275fb88a (diff)
Minor documentation fix
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29021 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/wslua')
-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;