commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25620] - Uninitialised variable in FTPClient
Date Mon, 22 Dec 2003 22:12:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25620>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25620

Uninitialised variable in FTPClient

dfs@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dfs@apache.org  2003-12-22 22:12 -------
Good catch.  I just fixed it by explicitly assigned to __restartOffset a
value of zero in __initDefaults().  It's actually more than just a generally
good thing to do. Without initializing the variable in __initDefaults(),
__restsartOffset is not reset the various times __initDefaults() is called
(e.g., reinitialize(), connect()), so values will persist between
connections and in other situations where it should be reset.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message