Changeset 248 in code for trunk/upstream.go


Ignore:
Timestamp:
Apr 7, 2020, 7:54:24 PM (5 years ago)
Author:
contact
Message:

Make newMessageLogger take a *network instead of an *upstreamConn

There's no reason why messgeLogger needs access to the whole connection,
the network is enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r246 r248  
    12861286        ml, ok := uc.messageLoggers[entity]
    12871287        if !ok {
    1288                 ml = newMessageLogger(uc, entity)
     1288                ml = newMessageLogger(uc.network, entity)
    12891289                uc.messageLoggers[entity] = ml
    12901290        }
Note: See TracChangeset for help on using the changeset viewer.