diff options
Diffstat (limited to 'source3/client')
-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 5df6bfe407..aeb4c91b19 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -148,12 +148,12 @@ static int smb_print(struct cli_state *, char *, FILE *); if ((password = strchr_m(username, ':')) != NULL) *password++ = '\0'; else - password = ""; + password = CONST_DISCARD(char *, ""); } else { username = ""; - password = ""; + password = CONST_DISCARD(char *, ""); server = uri + 6; } |