mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix uninitialised variable and iprove debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5f5cb7d57a
commit
b93da0fcb9
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2006-06-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSHTTPURLHandle.m: Fix uninitialised variable problem.
|
||||
|
||||
2006-06-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSString.m: Fix position of external function declaration.
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
@ -477,7 +478,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
NSDictionary *dict = [not userInfo];
|
||||
NSData *d;
|
||||
NSRange r;
|
||||
BOOL complete;
|
||||
BOOL complete = NO;
|
||||
|
||||
RETAIN(self);
|
||||
|
||||
|
@ -1168,6 +1169,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
name: GSFileHandleConnectCompletionNotification
|
||||
object: sock];
|
||||
connectionState = connecting;
|
||||
if (debug) NSLog(@"%@ start connect", NSStringFromSelector(_cmd));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue