diff --git a/protocol/httpflv/writer.go b/protocol/httpflv/writer.go
index e6caa73..1b58222 100755
--- a/protocol/httpflv/writer.go
+++ b/protocol/httpflv/writer.go
@@ -154,8 +154,6 @@ func (flvWriter *FLVWriter) SendPacket() error {
 		}
 
 	}
-
-	return nil
 }
 
 func (flvWriter *FLVWriter) Wait() {
diff --git a/protocol/rtmp/rtmp.go b/protocol/rtmp/rtmp.go
index ec57546..81bd165 100755
--- a/protocol/rtmp/rtmp.go
+++ b/protocol/rtmp/rtmp.go
@@ -329,7 +329,6 @@ func (v *VirWriter) SendPacket() error {
 		}
 
 	}
-	return nil
 }
 
 func (v *VirWriter) Info() (ret av.Info) {
diff --git a/protocol/rtmp/rtmprelay/rtmprelay.go b/protocol/rtmp/rtmprelay/rtmprelay.go
index 549a61f..bc6a39f 100644
--- a/protocol/rtmp/rtmprelay/rtmprelay.go
+++ b/protocol/rtmp/rtmprelay/rtmprelay.go
@@ -86,7 +86,7 @@ func (self *RtmpRelay) sendPublishChunkStream() {
 
 func (self *RtmpRelay) Start() error {
 	if self.startflag {
-		return fmt.Errorf("The rtmprelay already started, playurl=%s, publishurl=%s", self.PlayUrl, self.PublishUrl)
+		return fmt.Errorf("The rtmprelay already started, playurl=%s, publishurl=%s\n", self.PlayUrl, self.PublishUrl)
 	}
 
 	self.connectPlayClient = core.NewConnClient()
diff --git a/test.go b/test.go
new file mode 100644
index 0000000..06ab7d0
--- /dev/null
+++ b/test.go
@@ -0,0 +1 @@
+package main