mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Working on the manual...
Making better tests for error messages. Changed a few names. Moved gethostname to inet.c.
This commit is contained in:
@ -88,7 +88,7 @@ determines the transfer type. If <tt><path></tt> ends with a
|
||||
<p class=return>
|
||||
If successful, the function returns
|
||||
the file content as a string. In case of error, the function returns
|
||||
<tt>nil</tt> and an error message describing the error.
|
||||
<b><tt>nil</tt></b> and an error message describing the error.
|
||||
</p>
|
||||
|
||||
<pre class=example>
|
||||
@ -165,7 +165,7 @@ function tries to log in as '<tt>anonymous</tt>'.
|
||||
|
||||
<p class=return>
|
||||
If successful, the function returns 1. In case of error, the
|
||||
function returns <tt>nil</tt> followed by a string describing the error.
|
||||
function returns <b><tt>nil</tt></b> followed by a string describing the error.
|
||||
</p>
|
||||
|
||||
<pre class=example>
|
||||
|
Reference in New Issue
Block a user