summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 2339cc892b..ba40920a40 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -758,6 +758,7 @@ static BOOL process( struct client_info *info, char *cmd_str)
pstring pline;
BOOL at_sym = False;
pline[0] = 0;
+ safe_strcat(pline, "[", sizeof(pline)-1);
if (usr.domain[0] != 0)
{
safe_strcat(pline, usr.domain, sizeof(pline)-1);
@@ -775,7 +776,7 @@ static BOOL process( struct client_info *info, char *cmd_str)
}
safe_strcat(pline, cli_info.dest_host, sizeof(pline)-1);
- safe_strcat(pline, "$ ", sizeof(pline)-1);
+ safe_strcat(pline, "]$ ", sizeof(pline)-1);
#ifndef HAVE_LIBREADLINE