OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_mac.c versions 1.9 and 1.10
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_mac.c 1.9 -> 1.10

--- uuid_mac.c   2006/01/13 06:44:31     1.9
+++ uuid_mac.c   2006/07/28 19:04:32     1.10
@@ -158,7 +158,7 @@
             return FALSE;
         if ((s = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0)
             return FALSE;
-        memset(&ar, '\0', sizeof(ar));
+        memset(&ar, 0, sizeof(ar));
         sa = (struct sockaddr_in *)((void *)&(ar.arp_pa));
         sa->sin_family = AF_INET;
         memcpy(&(sa->sin_addr), *(he->h_addr_list), sizeof(struct in_addr));

CVSTrac 2.0.1