diff options
author | Leandro Silva Ferreira <leandrosilvaferreira@gmail.com> | 2012-08-08 12:04:23 -0400 |
---|---|---|
committer | Leandro Silva Ferreira <leandrosilvaferreira@gmail.com> | 2012-08-08 12:04:23 -0400 |
commit | bb72110f2ff0ed8f64e61eb578d60040c914a99a (patch) | |
tree | 1bbe48d36a1269949bee9462c1843851e6e71089 | |
parent | 96bc0ffa914d89e3b58e6e8642d201bb016c31ee (diff) | |
download | traccar-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.tar.gz traccar-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.tar.bz2 traccar-server-bb72110f2ff0ed8f64e61eb578d60040c914a99a.zip |
Removed wrong code that was generating errors on connections.
-rw-r--r-- | src/org/traccar/GenericPipelineFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/GenericPipelineFactory.java b/src/org/traccar/GenericPipelineFactory.java index db3c378ba..521b8bc74 100644 --- a/src/org/traccar/GenericPipelineFactory.java +++ b/src/org/traccar/GenericPipelineFactory.java @@ -59,7 +59,7 @@ public abstract class GenericPipelineFactory implements ChannelPipelineFactory { @Override public void log(ChannelEvent e) { - server.mandaMSG(); + if (e instanceof MessageEvent) { MessageEvent event = (MessageEvent) e; String msg = "[" + ((InetSocketAddress) e.getChannel().getLocalAddress()).getPort() + " - "; |