summaryrefslogtreecommitdiff
path: root/source/client/mount.cifs.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-01 22:48:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:11 -0500
commit2e25c71853f8996f73755277e448e7d670810349 (patch)
tree05135cdde43bd22e92922aa3e50f2b3ec7dc8446 /source/client/mount.cifs.c
parent8e25117103b0339441bc6328176ed34034005528 (diff)
downloadsamba-2e25c71853f8996f73755277e448e7d670810349.tar.gz
r3443: the next stage in the include files re-organisation.
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers.
Diffstat (limited to 'source/client/mount.cifs.c')
-rw-r--r--source/client/mount.cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/mount.cifs.c b/source/client/mount.cifs.c
index 7167859d7b2..82904038158 100644
--- a/source/client/mount.cifs.c
+++ b/source/client/mount.cifs.c
@@ -197,7 +197,7 @@ char * parse_server(char * unc_name)
char * share;
char * ipaddress_string = NULL;
struct hostent * host_entry;
- struct in_addr server_ipaddr;
+ struct ipv4_addr server_ipaddr;
int rc,j;
char temp[64];