Commit d21ec097 authored by Mike Hibler's avatar Mike Hibler
Browse files

DOrk, fix them all!!

parent ce1567a4
......@@ -271,6 +271,7 @@ void nameFD(int fd, const struct sockaddr *localname,
if (remotename == NULL) {
int gpn_rv;
namelen = sizeof(sockname.data);
gpn_rv = getpeername(fd,(struct sockaddr *)sockname.data,&namelen);
if (gpn_rv != 0) {
croak("Unable to get remote socket name: %s\n", strerror(errno));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment