From ec34806c1e57ee513df6c3416c3f161f02c14cdf Mon Sep 17 00:00:00 2001 From: Saravjeet 'Aman' Singh Date: Tue, 16 Mar 2021 20:13:53 +0530 Subject: Update README.md (#3543) prettify --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3857bf62c..87225b34b 100644 --- a/README.md +++ b/README.md @@ -294,19 +294,19 @@ 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: - - struct client { - int fd; - sds querybuf; - int argc; - robj **argv; - redisDb *db; - int flags; - list *reply; - char buf[PROTO_REPLY_CHUNK_BYTES]; - ... many other fields ... - } - +```c +struct client { + int fd; + sds querybuf; + int argc; + robj **argv; + redisDb *db; + int flags; + list *reply; + char buf[PROTO_REPLY_CHUNK_BYTES]; + // ... many other fields ... +} +``` The client structure defines a *connected client*: * The `fd` field is the client socket file descriptor. -- cgit v1.2.1