mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 17:02:23 +00:00
FS-5389
This commit is contained in:
parent
b214af4ccf
commit
4b54ec078b
@ -1982,7 +1982,7 @@ static void switch_xml_user_cache(const char *key, const char *user_name, const
|
|||||||
}
|
}
|
||||||
if (expires) {
|
if (expires) {
|
||||||
char *expires_val = malloc(1024);
|
char *expires_val = malloc(1024);
|
||||||
if (sprintf(expires_val, "%ld", expires)) {
|
if (sprintf(expires_val, "%ld", (long)expires)) {
|
||||||
switch_core_hash_insert(CACHE_EXPIRES_HASH, mega_key, expires_val);
|
switch_core_hash_insert(CACHE_EXPIRES_HASH, mega_key, expires_val);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user