projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credo fixes: parameter consistency
[akkoma]
/
lib
/
pleroma
/
gopher
/
server.ex
diff --git
a/lib/pleroma/gopher/server.ex
b/lib/pleroma/gopher/server.ex
index fee7156d34cb4e194af57997545f31759cd967db..b47a0697d9da48f4621a0f051f2883ab8c17c1a9 100644
(file)
--- a/
lib/pleroma/gopher/server.ex
+++ b/
lib/pleroma/gopher/server.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-201
8
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-201
9
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Gopher.Server do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Gopher.Server do
@@
-47,7
+47,7
@@
defmodule Pleroma.Gopher.Server.ProtocolHandler do
{:ok, pid}
end
{:ok, pid}
end
- def init(ref, socket, transport,
_Opts = []
) do
+ def init(ref, socket, transport,
[] = _Opts
) do
:ok = :ranch.accept_ack(ref)
loop(socket, transport)
end
:ok = :ranch.accept_ack(ref)
loop(socket, transport)
end