Fixing build issues

This commit is contained in:
MichaelOultram 2015-08-16 19:10:49 +01:00
parent 0760455962
commit 92c8230ae8

View file

@ -64,8 +64,8 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) {
timesplit = strings.Split(timesplit[1], ":") timesplit = strings.Split(timesplit[1], ":")
multiplier := 1 multiplier := 1
for i := len(timesplit) - 1; i >= 0; i-- { for i := len(timesplit) - 1; i >= 0; i-- {
offset += strconv.Atoa(timesplit[i]) * multiplier offset += strconv.Atoi(timesplit[i]) * multiplier
mutiplier *= 60 multiplier *= 60
} }
fmt.Printf("Offset: " + strconv.Itoa(offset)) // DEBUG fmt.Printf("Offset: " + strconv.Itoa(offset)) // DEBUG
} }