Skip to content

Commit

Permalink
fix issue reported by Antoine Latter
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Jan 4, 2025
1 parent 5e45a57 commit 00cbf4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goada.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ func (u *Url) HasPort() bool {
}

func (u *Url) HasPassword() bool {
answer := bool(C.ada_has_port(u.cpointer))
answer := bool(C.ada_has_password(u.cpointer))
runtime.KeepAlive(u)
return answer
}

func (u *Url) HasHash() bool {
answer := bool(C.ada_has_port(u.cpointer))
answer := bool(C.ada_has_hash(u.cpointer))
runtime.KeepAlive(u)
return answer
}
Expand Down

0 comments on commit 00cbf4d

Please sign in to comment.