From 7dd942b67326b2dbc38aab66a17b621236cd817c Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 5 Jun 2003 00:29:45 +0000 Subject: [PATCH] Start out the ping interval id at -1 so we can tell if it needs to be unregistered. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2639 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/presents/client/Communicator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/com/threerings/presents/client/Communicator.java b/src/java/com/threerings/presents/client/Communicator.java index 4e2ab7d05..b8f70d4b3 100644 --- a/src/java/com/threerings/presents/client/Communicator.java +++ b/src/java/com/threerings/presents/client/Communicator.java @@ -1,5 +1,5 @@ // -// $Id: Communicator.java,v 1.29 2003/06/05 00:26:16 ray Exp $ +// $Id: Communicator.java,v 1.30 2003/06/05 00:29:45 ray Exp $ package com.threerings.presents.client; @@ -596,7 +596,7 @@ public class Communicator protected SocketChannel _channel; protected Queue _msgq = new Queue(); - protected int _piid; + protected int _piid == -1; protected long _lastWrite; /** We use this to frame our upstream messages. */