Skip to content

Commit 132aa1c

Browse files
committed
Fix incorrect string type
It is an NSString, not a C string.
1 parent 938d7ef commit 132aa1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sope-appserver/NGObjWeb/NGHttp/NGHttpHeaderFieldParser.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ - (id)parseValue:(id)_data ofHeaderField:(NSString *)_field {
446446

447447
NSLog(@"ERROR(%s:%i): got invalid cookie pairs for field '%@' data '%@', class=%@.",
448448
__PRETTY_FUNCTION__, __LINE__,
449-
_field, s != nil ? "<nil>" : s, [_data class]);
449+
_field, s != nil ? @"<nil>" : s, [_data class]);
450450
RELEASE(s);
451451
#endif
452452
// return nil;

0 commit comments

Comments
 (0)