summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_build/content/articles/ranch-ftp.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/_build/content/articles/ranch-ftp.asciidoc b/_build/content/articles/ranch-ftp.asciidoc
index 056e3102..d653b4dc 100644
--- a/_build/content/articles/ranch-ftp.asciidoc
+++ b/_build/content/articles/ranch-ftp.asciidoc
@@ -71,7 +71,7 @@ init(ListenerPid, Socket, Transport) ->
ok.
----
-When Ranch receives a connection, it will call the <code>start_link/4</code>
+When Ranch receives a connection, it will call the `start_link/4`
function with the listener's pid, socket, transport module to be used,
and the options we define when starting the listener. We don't need options
for the purpose of this article, so we don't pass them to the process we are
@@ -158,7 +158,7 @@ match on the binary in the argument!
Next we need to loop receiving data commands and optionally
execute them, if we want our server to become useful.
-We will replace the <code>ok.</code> line with the call to
+We will replace the `ok.` line with the call to
the following function. The new function is recursive, each call
receiving data from the socket and sending a response. For now
we will send an error response for all commands the client sends.