mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
remove pointer from Write() methods
This commit is contained in:
@@ -168,7 +168,7 @@ func ReadAuth(v base.HeaderValue) (*Auth, error) {
|
||||
}
|
||||
|
||||
// Write encodes an Authenticate or a WWW-Authenticate header.
|
||||
func (ha *Auth) Write() base.HeaderValue {
|
||||
func (ha Auth) Write() base.HeaderValue {
|
||||
ret := ""
|
||||
|
||||
switch ha.Method {
|
||||
|
Reference in New Issue
Block a user