Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit 945592d

Browse files
committed
Fixed typo
1 parent 137e47e commit 945592d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/apns/core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def self.open_conn_with_proxy(host, port)
7575
sock << "Proxy-Authorization: Basic #{["#{proxy_uri.user}:#{proxy_uri.password}"].pack("m").chomp}\r\n" if proxy_uri.user
7676
sock << "\r\n"
7777

78-
buffer = Net.BufferedIO.new(sock)
78+
buffer = Net::BufferedIO.new(sock)
7979
response = Net::HTTPResponse.read_new(buffer)
8080
if not response.is_a? Net::HTTPOK
8181
raise SocketError.new("Proxy refused connection [#{response.code}]")

0 commit comments

Comments
 (0)