Commits

Fazlul Shahriar  committed 5999f0b

make it compile with latest Go release

  • Participants
  • Parent commits 905edb0

Comments (0)

Files changed (1)

File plumb/msg.go

 package plumb
 
 import (
-	"bytes"
 	"strconv"
 	"goplan9.googlecode.com/hg/plan9/client"
 )
 		}
 		attr += name + "=" + val
 	}
-	return bytes.Add([]byte(msg.Src+"\n"+
+	return append([]byte(msg.Src+"\n"+
 		msg.Dst+"\n"+
 		msg.WDir+"\n"+
 		msg.Kind+"\n"+
 		attr+"\n"+
 		strconv.Itoa(len(msg.Data))+"\n"),
-		msg.Data)
+		msg.Data...)
 }