git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h becau...
[bbaumbach/samba-autobuild/.git]
/
source4
/
lib
/
samba3
/
winsdb.c
diff --git
a/source4/lib/samba3/winsdb.c
b/source4/lib/samba3/winsdb.c
index 0a93dbb0e18c6a9c5d4c709ae465b5ef06438155..5bed3523ea2c8476ba9555e7c9ed305bc575ecb6 100644
(file)
--- a/
source4/lib/samba3/winsdb.c
+++ b/
source4/lib/samba3/winsdb.c
@@
-23,6
+23,7
@@
#include "includes.h"
#include "system/filesys.h"
#include "lib/samba3/samba3.h"
#include "includes.h"
#include "system/filesys.h"
#include "lib/samba3/samba3.h"
+#include "system/network.h"
#define WINS_VERSION 1
#define WINS_VERSION 1
@@
-110,7
+111,7
@@
NTSTATUS samba3_read_winsdb( const char *fn, TALLOC_CTX *ctx, struct samba3_wins
}
/* Allocate the space for the ip_list. */
}
/* Allocate the space for the ip_list. */
- if((entry.ips = talloc_array ( ctx, struct i
pv4
_addr, entry.ip_count)) == NULL) {
+ if((entry.ips = talloc_array ( ctx, struct i
n
_addr, entry.ip_count)) == NULL) {
DEBUG(0,("initialise_wins: Malloc fail !\n"));
SAFE_FREE(line);
return NT_STATUS_NO_MEMORY;
DEBUG(0,("initialise_wins: Malloc fail !\n"));
SAFE_FREE(line);
return NT_STATUS_NO_MEMORY;