diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-21 18:40:52 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-01-21 18:40:52 +0000 |
commit | 195069cf5f929f445b0ce20e531cd482d2559083 (patch) | |
tree | 6444d37c4ce32395428ba26ee0d16c0c372bd9da /src/timeout.c | |
parent | e63f500d24ff0238425c9e13f220daf09a277ef5 (diff) | |
download | luasocket-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.c | 3 |
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 | \*-------------------------------------------------------------------------*/ |
117 | void tm_markstart(p_tm tm) | 117 | p_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 | /*-------------------------------------------------------------------------*\ |