mirror of
https://github.com/go-i2p/goSam.git
synced 2025-07-13 14:18:25 -04:00
Added Verbose mode and be more fixed some newline inconsistencies
This commit is contained in:
@ -13,6 +13,7 @@ type Reply struct {
|
||||
}
|
||||
|
||||
func parseReply(line string) (r *Reply, err error) {
|
||||
line = strings.TrimSpace(line)
|
||||
parts := strings.Split(line, " ")
|
||||
if len(parts) < 3 {
|
||||
return nil, fmt.Errorf("Malformed Reply.\n%s\n", line)
|
||||
|
Reference in New Issue
Block a user