git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r6149: Fixes bugs #2498 and 2484.
[samba.git]
/
source
/
utils
/
smbcontrol.c
diff --git
a/source/utils/smbcontrol.c
b/source/utils/smbcontrol.c
index 154bc5b1ae429d8dde252c169e2dea031b621b5b..5a7b6548c29cb4ad0b07810fc2c3ef62b0dd1d6c 100644
(file)
--- a/
source/utils/smbcontrol.c
+++ b/
source/utils/smbcontrol.c
@@
-428,7
+428,8
@@
static BOOL do_printnotify(const pid_t pid, const int argc, const char **argv)
return False;
}
return False;
}
- notify_printer_byname(argv[2], attribute, (char *) argv[4]);
+ notify_printer_byname(argv[2], attribute,
+ CONST_DISCARD(char *, argv[4]));
goto send;
}
goto send;
}