Browse Source

Adds back missing return statement.

James Phillips 9 years ago
parent
commit
dbdc1e9b5a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      session.go

+ 1 - 0
session.go

@@ -501,6 +501,7 @@ func (s *Session) handlePing(hdr header) error {
 				s.logger.Printf("[WARN] yamux: failed to send ping reply: %v", err)
 			}
 		}()
+		return nil
 	}
 
 	// Handle a response