mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +00:00
Fix case of new peer message for consistency
This commit is contained in:
parent
9adaf0bd8f
commit
05a430bc3a
@ -627,7 +627,7 @@ int monitor_call_status(vomp_call_state *call)
|
|||||||
int monitor_announce_peer(unsigned char *sid)
|
int monitor_announce_peer(unsigned char *sid)
|
||||||
{
|
{
|
||||||
unsigned char msg[1024];
|
unsigned char msg[1024];
|
||||||
snprintf((char *)msg,1024,"\nnewpeer:%s\n",overlay_render_sid(sid));
|
snprintf((char *)msg,1024,"\nNEWPEER:%s\n",overlay_render_sid(sid));
|
||||||
monitor_tell_clients(msg,strlen((char *)msg),MONITOR_PEERS);
|
monitor_tell_clients(msg,strlen((char *)msg),MONITOR_PEERS);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user