summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-13 08:21:54 +0200
committerLoïc Hoguin <[email protected]>2018-06-13 08:21:54 +0200
commitd891388d0b961e9575f40f07a580ff4a50a41a85 (patch)
treefbf83331cddee84028783d4a8bd5d936fbaceb03
parent220e4ae0122f59bf863fb6cd359ffe4fe598713e (diff)
downloadninenines.eu-d891388d0b961e9575f40f07a580ff4a50a41a85.tar.gz
ninenines.eu-d891388d0b961e9575f40f07a580ff4a50a41a85.tar.bz2
ninenines.eu-d891388d0b961e9575f40f07a580ff4a50a41a85.zip
Remove two <code> in the old Ranch FTP article
-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.