| 2459 | } |
| 2460 | |
| 2461 | char *ldbRedisProtocolToHuman_Double(sds *o, char *reply) { |
| 2462 | char *p = strchr(reply+1,'\r'); |
| 2463 | *o = sdscatlen(*o,"(double) ",9); |
| 2464 | *o = sdscatlen(*o,reply+1,p-reply-1); |
| 2465 | return p+2; |
| 2466 | } |
| 2467 | |
| 2468 | /* Log a Redis reply as debugger output, in a human readable format. |
| 2469 | * If the resulting string is longer than 'len' plus a few more chars |
no test coverage detected