mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
FS-6402 --resolve
This commit is contained in:
1 parent
2c7c041f50
commit
5c0cff70b3
50 files changed
+161
-149
No files matched your search
@@ -247,7 +247,7 @@ static void event_handler(switch_event_t *event)
|
||||
struct peer_status *last;
|
||||
char *host;
|
||||
|
||||
for (cur = switch_core_hash_first( globals.peer_hash); cur; cur = switch_core_hash_next(cur)) {
|
||||
for (cur = switch_core_hash_first( globals.peer_hash); cur; cur = switch_core_hash_next(&cur)) {
|
||||
switch_core_hash_this(cur, &key, &keylen, &value);
|
||||
host = (char *) key;
|
||||
last = (struct peer_status *) value;
|
||||
@@ -351,7 +351,7 @@ SWITCH_STANDARD_API(multicast_peers)
|
||||
char *host;
|
||||
int i = 0;
|
||||
|
||||
for (cur = switch_core_hash_first( globals.peer_hash); cur; cur = switch_core_hash_next(cur)) {
|
||||
for (cur = switch_core_hash_first( globals.peer_hash); cur; cur = switch_core_hash_next(&cur)) {
|
||||
switch_core_hash_this(cur, &key, &keylen, &value);
|
||||
host = (char *) key;
|
||||
last = (struct peer_status *) value;
|
||||
|
||||
Reference in new issue
Block a user