Skip to content

Commit

Permalink
[php] gethostbyaddress -> gethostbyaddr (closes HaxeFoundation#3259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Aug 19, 2014
1 parent eefa9db commit 721ce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/php/_std/sys/net/Host.hx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Host {
}

public function reverse() : String {
return untyped __call__('gethostbyaddress', _ip);
return untyped __call__('gethostbyaddr', _ip);
}

public static function localhost() : String {
Expand Down

0 comments on commit 721ce12

Please sign in to comment.