Update README.md (#3543)

prettify
This commit is contained in:
Saravjeet 'Aman' Singh 2021-03-16 20:13:53 +05:30 committed by GitHub
parent f141329fb7
commit ec34806c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ the structure definition.
Another important Redis data structure is the one defining a client.
In the past it was called `redisClient`, now just `client`. The structure
has many fields, here we'll just show the main ones:
```c
struct client {
int fd;
sds querybuf;
@ -304,9 +304,9 @@ has many fields, here we'll just show the main ones:
int flags;
list *reply;
char buf[PROTO_REPLY_CHUNK_BYTES];
... many other fields ...
// ... many other fields ...
}
```
The client structure defines a *connected client*:
* The `fd` field is the client socket file descriptor.