diff --git a/vcf2fritzbox.go b/vcf2fritzbox.go index 6454eb5..2df9e88 100644 --- a/vcf2fritzbox.go +++ b/vcf2fritzbox.go @@ -31,9 +31,9 @@ func vCardValue(line string) string { return "" } if end < start { - end = len(line) - 1 + end = len(line) } - return line[start+1 : end+1] + return line[start+1 : end] } type Contact struct {