Improving get file by writing three /n at the end.
This commit is contained in:
parent
045ac76af3
commit
c8a2cb4877
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"io"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -46,6 +47,7 @@ func ProcessInput(c Client, text string) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &InputError{thisCommand, err}
|
return &InputError{thisCommand, err}
|
||||||
}
|
}
|
||||||
|
io.WriteString(c.Connection(), "\n\n")
|
||||||
case "ls":
|
case "ls":
|
||||||
err := checkArgumentsLength(commandsLen, 1)
|
err := checkArgumentsLength(commandsLen, 1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue