Browse Source

forgot to commit

flashmob 6 years ago
parent
commit
956c962441
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backends/s_mysql_chunksaver.go

+ 1 - 1
backends/s_mysql_chunksaver.go

@@ -55,7 +55,7 @@ func MysqlChunksaver() *StreamDecorator {
 			sd.Close = func() error {
 				if parts, ok := envelope.Values["MimeParts"].(*[]*mime.Part); ok {
 					for _, v := range *parts {
-						fmt.Println(v.Part + " " + strconv.Itoa(int(v.StartingPos)) + " " + strconv.Itoa(int(v.StartingPosBody)) + " " + strconv.Itoa(int(v.EndingPosBody)))
+						fmt.Println(v.Node + " " + strconv.Itoa(int(v.StartingPos)) + " " + strconv.Itoa(int(v.StartingPosBody)) + " " + strconv.Itoa(int(v.EndingPosBody)))
 					}
 				}
 				chunkBuffer.Reset()