mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 19:51:13 +00:00
in appendContentString: append string only if not nil (patch from Philip Moetteli)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19510 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1ce3a1a81b
commit
58182bae3d
1 changed files with 3 additions and 3 deletions
|
@ -515,8 +515,9 @@ static NSString* globalDefaultURLEncoding=nil;
|
|||
[[[NSString alloc]initWithData:_contentData
|
||||
encoding:[self contentEncoding]]
|
||||
autorelease]);
|
||||
[_contentString appendString:string];
|
||||
|
||||
if(string) {
|
||||
[_contentString appendString:string];
|
||||
}
|
||||
#ifndef NO_GNUSTEP
|
||||
if (_cachesStack)
|
||||
[self _cacheAppendString:string];
|
||||
|
@ -1220,4 +1221,3 @@ static NSString* globalDefaultURLEncoding=nil;
|
|||
@end
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue