pull/3/head
Christopher Young 2015-08-10 12:41:30 -04:00
commit a6517c3623
1 zmienionych plików z 8 dodań i 9 usunięć

Wyświetl plik

@ -133,8 +133,7 @@ func heartBeatSender() {
}
func parseInput(buf string) ([]byte, uint16) {
buf = strings.Trim(buf, "\r\n") // Remove newlines.
x := strings.Split(buf, ";") // We want to discard everything before the first ';'.
x := strings.Split(buf, ";") // Discard everything after the first ';'.
if len(x) == 0 {
return nil, 0
}