summaryrefslogtreecommitdiffstats
path: root/binapi/mactime/mactime_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/mactime/mactime_rpc.ba.go')
-rw-r--r--binapi/mactime/mactime_rpc.ba.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/binapi/mactime/mactime_rpc.ba.go b/binapi/mactime/mactime_rpc.ba.go
index ddde52b..42efc05 100644
--- a/binapi/mactime/mactime_rpc.ba.go
+++ b/binapi/mactime/mactime_rpc.ba.go
@@ -68,6 +68,10 @@ func (c *serviceClient_MactimeDumpClient) Recv() (*MactimeDetails, error) {
case *MactimeDetails:
return m, nil
case *vpe.ControlPingReply:
+ err = c.Stream.Close()
+ if err != nil {
+ return nil, err
+ }
return nil, io.EOF
default:
return nil, fmt.Errorf("unexpected message: %T %v", m, m)