diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-14 01:04:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-14 01:04:13 +0000 |
commit | 9ee8f39aed8772a05c203161b4ae6b7d90d67481 (patch) | |
tree | 07778a1272b86bb89046485d4eda6054d1d24edf /source/libsmb | |
parent | 9e1ff71faf558addfabe038e3bf45ee694ea4a0b (diff) | |
download | samba-9ee8f39aed8772a05c203161b4ae6b7d90d67481.tar.gz samba-9ee8f39aed8772a05c203161b4ae6b7d90d67481.tar.xz samba-9ee8f39aed8772a05c203161b4ae6b7d90d67481.zip |
Removed acconfig.h configure configure.in include/config.h.in: Made smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
file problem...sigh.
Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r-- | source/libsmb/clientgen.c | 6 | ||||
-rw-r--r-- | source/libsmb/nmblib.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/libsmb/clientgen.c b/source/libsmb/clientgen.c index 4eaebfa6ed2..81f75d2cb2a 100644 --- a/source/libsmb/clientgen.c +++ b/source/libsmb/clientgen.c @@ -2541,7 +2541,7 @@ BOOL cli_reestablish_connection(struct cli_state *cli) fstrcpy(dest_host, cli->full_dest_host_name); DEBUG(5,("cli_reestablish_connection: %s connecting to %s (ip %s) - %s [%s]\n", - namestr(&calling), namestr(&called), + nmb_namestr(&calling), nmb_namestr(&called), inet_ntoa(cli->dest_ip), cli->user_name, cli->domain)); @@ -2571,7 +2571,7 @@ BOOL cli_establish_connection(struct cli_state *cli, BOOL do_shutdown, BOOL do_tcon) { DEBUG(5,("cli_establish_connection: %s connecting to %s (%s) - %s [%s]\n", - namestr(calling), namestr(called), inet_ntoa(*dest_ip), + nmb_namestr(calling), nmb_namestr(called), inet_ntoa(*dest_ip), cli->user_name, cli->domain)); /* establish connection */ @@ -2586,7 +2586,7 @@ BOOL cli_establish_connection(struct cli_state *cli, if (!cli_connect(cli, dest_host, dest_ip)) { DEBUG(1,("cli_establish_connection: failed to connect to %s (%s)\n", - namestr(calling), inet_ntoa(*dest_ip))); + nmb_namestr(calling), inet_ntoa(*dest_ip))); return False; } } diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c index 6314a9076b6..b91a2944a3e 100644 --- a/source/libsmb/nmblib.c +++ b/source/libsmb/nmblib.c @@ -66,7 +66,7 @@ static void debug_nmb_res_rec(struct res_rec *res, char *hdr) DEBUGADD( 4, ( " %s: nmb_name=%s rr_type=%d rr_class=%d ttl=%d\n", hdr, - namestr(&res->rr_name), + nmb_namestr(&res->rr_name), res->rr_type, res->rr_class, res->ttl ) ); @@ -131,7 +131,7 @@ void debug_nmb_packet(struct packet_struct *p) if (nmb->header.qdcount) { DEBUGADD( 4, ( " question: q_name=%s q_type=%d q_class=%d\n", - namestr(&nmb->question.question_name), + nmb_namestr(&nmb->question.question_name), nmb->question.question_type, nmb->question.question_class) ); } @@ -289,7 +289,7 @@ static int put_nmb_name(char *buf,int offset,struct nmb_name *name) /******************************************************************* useful for debugging messages ******************************************************************/ -char *namestr(struct nmb_name *n) +char *nmb_namestr(struct nmb_name *n) { static int i=0; static fstring ret[4]; |