summaryrefslogtreecommitdiff
path: root/applyPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'applyPatch.go')
-rw-r--r--applyPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/applyPatch.go b/applyPatch.go
index 9abafef..8b05b18 100644
--- a/applyPatch.go
+++ b/applyPatch.go
@@ -160,7 +160,7 @@ func doRegister(newurl string) error {
}
test := strings.TrimSpace(string(body))
- for _, line := range strings.Split(test, "\n") {
+ for line := range strings.SplitSeq(test, "\n") {
line = strings.TrimSpace(line)
log.Info("server returned:", line)
}