about summary refs log tree commit diff stats
path: root/adapter/protocol
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-09 13:00:39 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-09 13:02:54 +0200
commit90fa1cc468f4821a10941419b0dbc6916ff196f9 (patch)
treeab1942f90886d224cd5469dac9cb05454b72d3e6 /adapter/protocol
parent10a537aa5445937163300b5366e0f4440dd62e9f (diff)
downloadchawan-90fa1cc468f4821a10941419b0dbc6916ff196f9.tar.gz
ftp: fix quoting bug
Diffstat (limited to 'adapter/protocol')
-rw-r--r--adapter/protocol/ftp.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/adapter/protocol/ftp.nim b/adapter/protocol/ftp.nim
index 88ced6be..09ad4cd3 100644
--- a/adapter/protocol/ftp.nim
+++ b/adapter/protocol/ftp.nim
@@ -192,6 +192,7 @@ proc parseSSHConfig(f: File; curl: CURL; host: string; idSet: var bool) =
       if not quot and line[i] == '\\':
         quot = true
       else:
+        quot = false
         arg &= line[i]
       inc i
     if k == "Match": #TODO support this