summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-25 00:46:34 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-25 00:46:34 +0000
commit8b79a473faf2ff25acb220500158920490c71576 (patch)
tree746af9446f50f1cc3403a6b10f8adb25291cd660 /source3/libsmb
parentcc6bf9a06f0629f16ab455ad30b6c7b1a76ac0c2 (diff)
downloadsamba-8b79a473faf2ff25acb220500158920490c71576.tar.gz
samba-8b79a473faf2ff25acb220500158920490c71576.tar.bz2
samba-8b79a473faf2ff25acb220500158920490c71576.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 (This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 034208f3b2..67eef52583 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/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);
}