diff options
author | Fred Nias <fred.nias@gmail.com> | 2013-07-19 11:26:02 +0200 |
---|---|---|
committer | Fred Nias <fred.nias@gmail.com> | 2013-07-19 11:26:02 +0200 |
commit | b9e29803249d76eeea34a8cb5af8ccd44c3b16df (patch) | |
tree | 2048e465f28aec2bcf22606c1cc6ee138d314f28 | |
parent | d028802c7d2cc00c485c0eed061947e238a12714 (diff) | |
download | php-smpp-b9e29803249d76eeea34a8cb5af8ccd44c3b16df.zip php-smpp-b9e29803249d76eeea34a8cb5af8ccd44c3b16df.tar.gz php-smpp-b9e29803249d76eeea34a8cb5af8ccd44c3b16df.tar.bz2 |
Syntax error on line 72
'$' is missing for $hostname
-rw-r--r-- | sockettransport.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sockettransport.class.php b/sockettransport.class.php index 134ebc0..9ffcffc 100644 --- a/sockettransport.class.php +++ b/sockettransport.class.php @@ -69,7 +69,7 @@ class SocketTransport $ip4s[] = $hostname; } else if (preg_match('/^([0-9a-f:]+):[0-9a-f]{1,4}$/i',$hostname)) { // IPv6 address - $ip6s[] = hostname; + $ip6s[] = $hostname; } else { // Do a DNS lookup if (!self::$forceIpv4) { // if not in IPv4 only mode, check the AAAA records first @@ -375,4 +375,4 @@ class SocketTransport } } -class SocketTransportException extends RuntimeException { }
\ No newline at end of file +class SocketTransportException extends RuntimeException { } |