aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-21 18:40:52 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-01-21 18:40:52 +0000
commit195069cf5f929f445b0ce20e531cd482d2559083 (patch)
tree6444d37c4ce32395428ba26ee0d16c0c372bd9da /src/timeout.c
parente63f500d24ff0238425c9e13f220daf09a277ef5 (diff)
downloadluasocket-195069cf5f929f445b0ce20e531cd482d2559083.tar.gz
luasocket-195069cf5f929f445b0ce20e531cd482d2559083.tar.bz2
luasocket-195069cf5f929f445b0ce20e531cd482d2559083.zip
Fixed functions that return messages in ?socket.c.
Moved complexity of connect and accept there. Created a new options.c module to take care of options. Auxiliar.c is now cleaner.
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 09cb53d..83bffc9 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -114,9 +114,10 @@ int tm_getretry(p_tm tm)
114* Input 114* Input
115* tm: timeout control structure 115* tm: timeout control structure
116\*-------------------------------------------------------------------------*/ 116\*-------------------------------------------------------------------------*/
117void tm_markstart(p_tm tm) 117p_tm tm_markstart(p_tm tm)
118{ 118{
119 tm->start = tm_gettime(); 119 tm->start = tm_gettime();
120 return tm;
120} 121}
121 122
122/*-------------------------------------------------------------------------*\ 123/*-------------------------------------------------------------------------*\