mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-11 14:51:53 +00:00
fs_cli: comply with -Wwrite-strings
This commit is contained in:
+1
-1
@@ -575,7 +575,7 @@ static int stdout_writable(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
static int write_str(char *s) {
|
||||
static int write_str(const char *s) {
|
||||
int n, left = strlen(s);
|
||||
while (1) {
|
||||
n = write(STDOUT_FILENO, s, left);
|
||||
|
||||
Reference in New Issue
Block a user