mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 00:36:21 +00:00
Merge branch 'master' into roomconfig
Conflicts: src/server_events.h
This commit is contained in:
@@ -601,3 +601,13 @@ handle_ping_result(const char * const from, int millis)
|
||||
cons_show("Ping response from %s: %dms.", from, millis);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
handle_ping_error_result(const char * const from, const char * const error)
|
||||
{
|
||||
if (error == NULL) {
|
||||
cons_show_error("Error returned from pinging %s.", from);
|
||||
} else {
|
||||
cons_show_error("Error returned form pinging %s: %s.", from, error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user