xaicron / p5-Net-APNs-Extended

Client library for APNs
Other
2 stars 6 forks source link

$apns->retrieve_error returns "blank" hash #6

Closed perlDreamer closed 8 years ago

perlDreamer commented 9 years ago

I'm running stock perl on OpenSUSE 13.1, which is perl 5.14.2

It looks like $self->_read will return an empty string, which is defined. This makes the unpack return nothing inside the error hash, presumably for no error in transmission.

xaicron commented 8 years ago

I fixed on bb69adb