revid: made extractMeta a function of httpSender

This commit is contained in:
saxon 2018-12-14 16:01:10 +10:30
parent f1ee09ad7b
commit e79f6d191d
1 changed files with 2 additions and 2 deletions

View File

@ -153,10 +153,10 @@ func (s *httpSender) send() error {
}
}
return extractMeta(reply, s)
return s.extractMeta(reply)
}
func extractMeta(r string, s *httpSender) error {
func (s *httpSender) extractMeta(r string) error {
dec, err := netsender.NewJsonDecoder(r)
if err != nil {
return nil