| 951 | } |
| 952 | |
| 953 | void addReplyBool(client *c, int b) { |
| 954 | if (c->resp == 2) { |
| 955 | addReply(c, b ? shared.cone : shared.czero); |
| 956 | } else { |
| 957 | addReplyProto(c, b ? "#t\r\n" : "#f\r\n",4); |
| 958 | } |
| 959 | } |
| 960 | |
| 961 | /* A null array is a concept that no longer exists in RESP3. However |
| 962 | * RESP2 had it, so API-wise we have this call, that will emit the correct |
no test coverage detected