remove debug logging in previous

This commit is contained in:
mappu 2016-08-27 15:24:18 +12:00
parent a996f1668c
commit 417deff347

View File

@ -100,7 +100,6 @@ func maybeParse(str string, dest *uint64, default_val uint64) {
} }
func (this *UserInfo) fromMyINFO(protomsg string) error { func (this *UserInfo) fromMyINFO(protomsg string) error {
fmt.Printf("PARSE: %s\n", protomsg)
// Normal format (with tag in exact V/M/H/S order) // Normal format (with tag in exact V/M/H/S order)
matches := rx_myinfo.FindStringSubmatch(protomsg) matches := rx_myinfo.FindStringSubmatch(protomsg)
@ -123,8 +122,6 @@ func (this *UserInfo) fromMyINFO(protomsg string) error {
this.Email = NMDCUnescape(matches[11]) this.Email = NMDCUnescape(matches[11])
maybeParse(matches[12], &this.ShareSize, 0) maybeParse(matches[12], &this.ShareSize, 0)
fmt.Printf("PARSE: Success (full VMHS)\n")
return nil return nil
} }
@ -150,8 +147,6 @@ func (this *UserInfo) fromMyINFO(protomsg string) error {
this.Email = NMDCUnescape(matches[4]) this.Email = NMDCUnescape(matches[4])
maybeParse(matches[5], &this.ShareSize, 0) maybeParse(matches[5], &this.ShareSize, 0)
fmt.Printf("PARSE: Partial/no tag\n")
return nil return nil
} }