Enforce more consistent meanings for the various field separator characters

This commit is contained in:
2024-06-04 21:51:58 -04:00
parent 3c5f508835
commit 9693d2608b
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -143,8 +143,8 @@ func getRemoteDataFromClient(manualSync bool) (map[string]int64, []string, []str
}
output := GetSSHOutput("libmuttonserver fetch", clientDeviceID[0].Name(), manualSync)
// split output into slice based on occurrences of "\x1d"
outputSlice := strings.Split(output, "\x1d")
// split output into slice based on occurrences of "\x1e"
outputSlice := strings.Split(output, "\x1e")
// re-form the lists
if len(outputSlice) != 4 { // ensure information from server is complete