Minor tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15674 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-01-22 10:54:29 +00:00
parent be9e169e94
commit 824d5af6ff
3 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ifdefed out my last change ...not sure
it was good.
* Source/GSFileHandle.m: Removed bogus semicolon which was causing
code to be executed repeatedly rather than just once ... trivial
optimisation.
2003-01-21 Adam Fedor <fedor@gnu.org> 2003-01-21 Adam Fedor <fedor@gnu.org>
* Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m, * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,

View file

@ -3949,6 +3949,12 @@ static NSCharacterSet *tokenSet = nil;
if (v == nil) if (v == nil)
{ {
start = [content objectAtIndex: 0]; start = [content objectAtIndex: 0];
#if 0
/*
* The 'start' parameter is not compulsory ... should we
* force it to be set anyway in case some dumb software
* doesn't default to the first part of the message?
*/
v = [start contentID]; v = [start contentID];
if (v == nil) if (v == nil)
{ {
@ -3956,6 +3962,7 @@ static NSCharacterSet *tokenSet = nil;
v = [hdr value]; v = [hdr value];
} }
[type setParameter: v forKey: @"start"]; [type setParameter: v forKey: @"start"];
#endif
} }
else else
{ {

View file

@ -684,7 +684,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
NSString *shost = nil; NSString *shost = nil;
NSString *sport = nil; NSString *sport = nil;
if (beenHere == NO); if (beenHere == NO)
{ {
NSUserDefaults *defs; NSUserDefaults *defs;