OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.30 and 1.31
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.c 1.30 -> 1.31

--- sa.c 2001/10/10 19:32:29     1.30
+++ sa.c 2001/10/11 14:36:29     1.31
@@ -478,7 +478,7 @@
         }
         else
             cp = un.sun_path;
-        memcpy(un.sun_path, cpPath, n+1);
+        memcpy(cp, cpPath, n+1);
         un.sun_family = AF_LOCAL;
 
         /* provide results */
@@ -1201,6 +1201,7 @@
     int n;
     fd_set fds;
     union {
+        struct sockaddr_un un;
         struct sockaddr_in sa4;
 #ifdef AF_INET6
         struct sockaddr_in6 sa6;

CVSTrac 2.0.1