Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these

static string copies
This commit is contained in:
Rasmus Lerdorf 2011-08-07 16:10:34 +00:00
parent 46a484e739
commit d4a716b19d
3 changed files with 7 additions and 7 deletions

View file

@ -160,13 +160,13 @@ typedef struct php_cli_server_client {
char *addr_str;
size_t addr_str_len;
php_http_parser parser;
int request_read:1;
unsigned int request_read:1;
char *current_header_name;
size_t current_header_name_len;
int current_header_name_allocated:1;
unsigned int current_header_name_allocated:1;
size_t post_read_offset;
php_cli_server_request request;
int content_sender_initialized:1;
unsigned int content_sender_initialized:1;
php_cli_server_content_sender content_sender;
php_cli_server_buffer capture_buffer;
unsigned int capturing:1;