Binary files /tmp/72NeBYaDKC/nuntium-1.4+15.10.20150521/cmd/nuntium/nuntium and /tmp/GYiwvb4SkF/nuntium-1.4+15.10.20150604/cmd/nuntium/nuntium differ diff -Nru nuntium-1.4+15.10.20150521/debian/changelog nuntium-1.4+15.10.20150604/debian/changelog --- nuntium-1.4+15.10.20150521/debian/changelog 2015-06-04 13:00:22.000000000 +0000 +++ nuntium-1.4+15.10.20150604/debian/changelog 2015-06-04 13:00:22.000000000 +0000 @@ -1,4 +1,13 @@ -nuntium (1.4+15.10.20150521-0ubuntu8) wily; urgency=medium +nuntium (1.4+15.10.20150604-0ubuntu1) wily; urgency=medium + + [ Alfonso Sanchez-Beato (email Canonical) ] + * Fix LP #1459995 and most bugs which symptom is not receiving MMS + messages + * Remove nuntium binary from VC + + -- CI Train Bot Thu, 04 Jun 2015 12:49:28 +0000 + +nuntium (1.4+15.04.20150521-0ubuntu1) vivid; urgency=medium [ Sergio Schvezov ] * Decode properly content type when there are parameters diff -Nru nuntium-1.4+15.10.20150521/.gitignore nuntium-1.4+15.10.20150604/.gitignore --- nuntium-1.4+15.10.20150521/.gitignore 2015-05-21 06:27:43.000000000 +0000 +++ nuntium-1.4+15.10.20150604/.gitignore 2015-06-04 12:49:25.000000000 +0000 @@ -1 +1,5 @@ **/*.swp +cmd/nuntium/nuntium +cmd/nuntium-decode-cli/nuntium-decode-cli +cmd/nuntium-inject-push/nuntium-inject-push +test/test diff -Nru nuntium-1.4+15.10.20150521/mms/decoder.go nuntium-1.4+15.10.20150604/mms/decoder.go --- nuntium-1.4+15.10.20150521/mms/decoder.go 2015-05-21 06:27:53.000000000 +0000 +++ nuntium-1.4+15.10.20150604/mms/decoder.go 2015-06-04 12:49:25.000000000 +0000 @@ -165,7 +165,7 @@ } func (dec *MMSDecoder) ReadTo(reflectedPdu *reflect.Value) error { - // field in the MMS protocol + // field in the MMS protocol toField, err := dec.ReadEncodedString(reflectedPdu, "") if err != nil { return err @@ -414,7 +414,12 @@ case X_MMS_RETRIEVE_TEXT: _, err = dec.ReadString(&reflectedPdu, "RetrieveText") case X_MMS_MMS_VERSION: - _, err = dec.ReadShortInteger(&reflectedPdu, "Version") + // TODO This should be ReadShortInteger instead, but we read it + // as a byte because we are not properly encoding the version + // either, as we are using the raw value there. To fix this we + // need to change the encoder and the MMS_MESSAGE_VERSION_1_X + // constants. + _, err = dec.ReadByte(&reflectedPdu, "Version") case X_MMS_MESSAGE_CLASS: //TODO implement Token text form _, err = dec.ReadByte(&reflectedPdu, "Class")