Fix case of new peer message for consistency

This commit is contained in:
Jeremy Lakeman 2012-05-21 14:13:36 +09:30
parent 9adaf0bd8f
commit 05a430bc3a

View File

@ -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;
} }