38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#import "macros.h"
Class of_http_request_tls_socket_class = Nil;
static OF_INLINE void
normalize_key(OFString *key)
{
char *str = (char*)[key cString];
BOOL firstLetter = YES;
while (*str != '\0') {
if (!isalnum(*str)) {
firstLetter = YES;
str++;
continue;
|
|
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#import "macros.h"
Class of_http_request_tls_socket_class = Nil;
static OF_INLINE void
normalize_key(OFString *key)
{
uint8_t *str = (uint8_t*)[key cString];
BOOL firstLetter = YES;
while (*str != '\0') {
if (!isalnum(*str)) {
firstLetter = YES;
str++;
continue;
|