diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-06-25 00:46:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-06-25 00:46:34 +0000 |
commit | 55109a752578e9389d853cb27ec17c2114ecff77 (patch) | |
tree | 61e5d971f0db5f93d111b24f43b54e9508962261 /source/libsmb/cliconnect.c | |
parent | 7e5a9860fad92fee79bcc20f2ea2a3728080dba2 (diff) | |
download | samba-55109a752578e9389d853cb27ec17c2114ecff77.tar.gz samba-55109a752578e9389d853cb27ec17c2114ecff77.tar.xz samba-55109a752578e9389d853cb27ec17c2114ecff77.zip |
- make the regresison test mode code build in by default. This should
allow us to have test targets without special configure options
- fixed make proto so that it actually does something
Diffstat (limited to 'source/libsmb/cliconnect.c')
-rw-r--r-- | source/libsmb/cliconnect.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c index 034208f3b24..67eef52583f 100644 --- a/source/libsmb/cliconnect.c +++ b/source/libsmb/cliconnect.c @@ -579,12 +579,9 @@ BOOL cli_connect(struct cli_state *cli, const char *host, struct in_addr *ip) if (cli->port == 0) cli->port = 139; /* Set to default */ -#ifdef SMB_REGRESSION_TEST if (getenv("LIBSMB_PROG")) { cli->fd = sock_exec(getenv("LIBSMB_PROG")); - } else -#endif - { + } else { cli->fd = open_socket_out(SOCK_STREAM, &cli->dest_ip, cli->port, cli->timeout); } |