Suicide is deferred to update

This commit is contained in:
obscuren
2014-07-02 00:06:21 +02:00
parent fd1d0bbde7
commit 1954ef47e6
2 changed files with 12 additions and 8 deletions

View File

@ -129,7 +129,7 @@ func FormatData(data string) []byte {
}
func RightPadBytes(slice []byte, l int) []byte {
if l <= len(slice) {
if l < len(slice) {
return slice
}
@ -140,7 +140,7 @@ func RightPadBytes(slice []byte, l int) []byte {
}
func LeftPadBytes(slice []byte, l int) []byte {
if l <= len(slice) {
if l < len(slice) {
return slice
}