Commits

Bryan O'Sullivan committed 472b01b

Fix gcc 4 compilation bug. Reported by Roy Marples.

  • Participants
  • Parent commits 30cda35

Comments (0)

Files changed (1)

         exit(1);
     }
 
-    int addr_len = sizeof(addr);
+    socklen_t addr_len = sizeof(addr);
 
     if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) {
         do_log(LOG_ERR, "Could not get socket details: %m");