change log prefix of servers

This commit is contained in:
aler9 2020-09-19 15:23:12 +02:00
parent e9a9d846fe
commit b1b6f669dd
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ func newServerTCP(p *program) (*serverTCP, error) {
}
func (l *serverTCP) log(format string, args ...interface{}) {
l.p.log("[TCP listener] "+format, args...)
l.p.log("[TCP server] "+format, args...)
}
func (l *serverTCP) run() {

View File

@ -51,7 +51,7 @@ func (l *serverUDP) log(format string, args ...interface{}) {
} else {
label = "RTCP"
}
l.p.log("[UDP/"+label+" listener] "+format, args...)
l.p.log("[UDP/"+label+" server] "+format, args...)
}
func (l *serverUDP) run() {