ext/kgio/connect.c in kgio-2.4.2 vs ext/kgio/connect.c in kgio-2.5.0
- old
+ new
@@ -59,10 +59,9 @@
{
struct addrinfo hints;
struct sockaddr_storage addr;
int rc;
struct addrinfo *res;
- VALUE sock;
const char *ipname = StringValuePtr(ip);
char ipport[6];
unsigned uport = FIX2UINT(port);
rc = snprintf(ipport, sizeof(ipport), "%u", uport);