Changeset 25751


Ignore:
Timestamp:
2011-02-27T13:53:12+01:00 (7 years ago)
Author:
jow
Message:

[packages] chillispot: use memset instead of bzero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/chillispot/patches/150-chillispot-rmtctrl.patch

    r24495 r25751  
    13231323+       srv.addr.sin_port = htons(rmtport);  
    13241324+       srv.addr.sin_addr.s_addr = rmtlisten.s_addr; 
    1325 +       bzero(&(srv.addr.sin_zero),8);  
     1325+       memset(&(srv.addr.sin_zero), 0, 8);  
    13261326+ 
    13271327+       if(bind(srv.fd,(struct sockaddr*)&srv.addr,sizeof(struct sockaddr))==-1) { 
Note: See TracChangeset for help on using the changeset viewer.