diff options
Diffstat (limited to 'source3/client/smbspool.c')
-rw-r--r-- | source3/client/smbspool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index b41a41aa28..1efdc12a1b 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -160,12 +160,12 @@ static int smb_print(struct cli_state *, char *, FILE *); if ((password = strchr_m(username, ':')) != NULL) *password++ = '\0'; else - password = CONST_DISCARD(char *, ""); + password = ""; } else { username = ""; - password = CONST_DISCARD(char *, ""); + password = ""; server = uri + 6; } |