FS-11911: Fix build on Debian Buster

This commit is contained in:
Andrey Volk committed 2019-07-15 22:23:25 +04:00
1 parent 4f50a24a90
commit a7477ed0e2
24 files changed
+36 -50

No files matched your search

+1 -1
View File
@@ -4160,7 +4160,7 @@ SWITCH_DECLARE(void) switch_cache_db_status(switch_stream_handle_t *stream)
}
}
if (i == 3) {
strncpy(cleankey_str, dbh->name, strlen(dbh->name));
snprintf(cleankey_str, sizeof(cleankey_str), "%s", dbh->name);
}
count++;