mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
tweaks to compile with mdns again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36104 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
780cfea7ce
commit
ec7fe0019c
3 changed files with 32 additions and 19 deletions
|
@ -794,7 +794,7 @@ static void DNSSD_API
|
|||
Browser *browser;
|
||||
|
||||
browser = malloc(sizeof (struct _Browser));
|
||||
memset(browser, 0, sizeof browser);
|
||||
memset(browser, 0, sizeof &browser);
|
||||
|
||||
CREATELOCK(browser);
|
||||
|
||||
|
@ -1736,7 +1736,7 @@ static void DNSSD_API
|
|||
Service *service;
|
||||
|
||||
service = malloc(sizeof (struct _Service));
|
||||
memset(service, 0, sizeof service);
|
||||
memset(service, 0, sizeof &service);
|
||||
|
||||
CREATELOCK(service);
|
||||
|
||||
|
@ -2473,7 +2473,7 @@ static void DNSSD_API
|
|||
Monitor *monitor;
|
||||
|
||||
monitor = malloc(sizeof (struct _Monitor));
|
||||
memset(monitor, 0, sizeof monitor);
|
||||
memset(monitor, 0, sizeof &monitor);
|
||||
|
||||
CREATELOCK(monitor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue