mirror of https://bitbucket.org/ausocean/av.git
revid: changed request time to recv
This commit is contained in:
parent
9a7d7a9ab3
commit
ce036abf8b
|
@ -146,7 +146,7 @@ func (s *httpSender) send() error {
|
|||
var err error
|
||||
var reply string
|
||||
if send {
|
||||
reply, _, err = s.client.Send(netsender.RequestPoll, pins)
|
||||
reply, _, err = s.client.Send(netsender.RequestRecv, pins)
|
||||
}
|
||||
// Extract time from reply
|
||||
t, err := netsender.ExtractJsonInt(reply, "ts")
|
||||
|
|
Loading…
Reference in New Issue