소스 검색

Adds back missing return statement.

James Phillips 9 년 전
부모
커밋
dbdc1e9b5a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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