aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_tvb.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-01-05 16:07:21 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-01-05 16:07:21 +0000
commita5c2c6fb0d370560e9183990808ee37c8b9ef6bb (patch)
tree7598b56741b196b1f14538ef607c88b1b2f5b016 /epan/wslua/wslua_tvb.c
parent31e116d74acebe309c6ef777f8a365fd74e31ce3 (diff)
Use correct method names in TvbRange error messages.
svn path=/trunk/; revision=31450
Diffstat (limited to 'epan/wslua/wslua_tvb.c')
-rw-r--r--epan/wslua/wslua_tvb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c
index 9a90a2ca87..00c8ccc550 100644
--- a/epan/wslua/wslua_tvb.c
+++ b/epan/wslua/wslua_tvb.c
@@ -601,7 +601,7 @@ WSLUA_METHOD TvbRange_uint(lua_State* L) {
* lua that does).
*/
default:
- luaL_error(L,"TvbRange:get_uint() does not handle %d byte integers",tvbr->len);
+ luaL_error(L,"TvbRange:uint() does not handle %d byte integers",tvbr->len);
return 0;
}
}
@@ -633,7 +633,7 @@ WSLUA_METHOD TvbRange_le_uint(lua_State* L) {
lua_pushnumber(L,tvb_get_letohl(tvbr->tvb->ws_tvb,tvbr->offset));
WSLUA_RETURN(1); /* The unsigned integer value */
default:
- luaL_error(L,"TvbRange:get_le_uint() does not handle %d byte integers",tvbr->len);
+ luaL_error(L,"TvbRange:le_uint() does not handle %d byte integers",tvbr->len);
return 0;
}
}
@@ -665,7 +665,7 @@ WSLUA_METHOD TvbRange_uint64(lua_State* L) {
WSLUA_RETURN(1);
}
default:
- luaL_error(L,"TvbRange:get_uint64() does not handle %d byte integers",tvbr->len);
+ luaL_error(L,"TvbRange:uint64() does not handle %d byte integers",tvbr->len);
return 0;
}
}
@@ -697,7 +697,7 @@ WSLUA_METHOD TvbRange_le_uint64(lua_State* L) {
WSLUA_RETURN(1);
}
default:
- luaL_error(L,"TvbRange:get_le_uint64() does not handle %d byte integers",tvbr->len);
+ luaL_error(L,"TvbRange:le_uint64() does not handle %d byte integers",tvbr->len);
return 0;
}
}
@@ -722,7 +722,7 @@ WSLUA_METHOD TvbRange_float(lua_State* L) {
lua_pushnumber(L,tvb_get_ntohieee_double(tvbr->tvb->ws_tvb,tvbr->offset));
WSLUA_RETURN(1); /* The flaoting point value */
default:
- luaL_error(L,"TvbRange:get_float() does not handle %d byte floating numbers",tvbr->len);
+ luaL_error(L,"TvbRange:float() does not handle %d byte floating numbers",tvbr->len);
return 0;
}
}
@@ -743,7 +743,7 @@ WSLUA_METHOD TvbRange_le_float(lua_State* L) {
lua_pushnumber(L,tvb_get_letohieee_double(tvbr->tvb->ws_tvb,tvbr->offset));
WSLUA_RETURN(1); /* The flaoting point value */
default:
- luaL_error(L,"TvbRange:get_float() does not handle %d byte floating numbers",tvbr->len);
+ luaL_error(L,"TvbRange:le_float() does not handle %d byte floating numbers",tvbr->len);
return 0;
}
}