aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-12-19 16:28:39 +0000
committerEvan Huus <eapache@gmail.com>2013-12-19 16:28:39 +0000
commit2ae8edccea07234fa916d0fb7193f28fb0783ab4 (patch)
tree8b76205aaa5bf9eddde8f313ef90e4c4212a4002 /epan/wslua
parenta6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 (diff)
Rename more to_str functions to have ep_ in the name if they return ephemeral
buffers. Remove two unused functions. svn path=/trunk/; revision=54250
Diffstat (limited to 'epan/wslua')
-rw-r--r--epan/wslua/wslua_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_util.c b/epan/wslua/wslua_util.c
index 50d3e04f58..b2658828bb 100644
--- a/epan/wslua/wslua_util.c
+++ b/epan/wslua/wslua_util.c
@@ -85,7 +85,7 @@ WSLUA_FUNCTION wslua_format_date(lua_State* LS) { /* Formats an absolute timesta
then.secs = (guint32)floor(timestamp);
then.nsecs = (guint32) ( (timestamp-(double)(then.secs))*1000000000);
- str = abs_time_to_str(&then, ABSOLUTE_TIME_LOCAL, TRUE);
+ str = abs_time_to_ep_str(&then, ABSOLUTE_TIME_LOCAL, TRUE);
lua_pushstring(LS,str);
WSLUA_RETURN(1); /* A string with the formated date */
@@ -99,7 +99,7 @@ WSLUA_FUNCTION wslua_format_time(lua_State* LS) { /* Formats a relative timestam
then.secs = (guint32)floor(timestamp);
then.nsecs = (guint32) ( (timestamp-(double)(then.secs))*1000000000);
- str = rel_time_to_str(&then);
+ str = rel_time_to_ep_str(&then);
lua_pushstring(LS,str);
WSLUA_RETURN(1); /* A string with the formated time */