summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applyPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/applyPatch.go b/applyPatch.go
index 2124acc..f142733 100644
--- a/applyPatch.go
+++ b/applyPatch.go
@@ -116,7 +116,7 @@ func doRegister(newurl string) error {
}
test := strings.TrimSpace(string(body))
- for line := range strings.SplitSeq(test, "\n") {
+ for _, line := range strings.Split(test, "\n") {
line = strings.TrimSpace(line)
log.Info("server returned:", line)
}