Merge pull request #4167 from charpty/wip-redisclic-typo2

redis-cli.c typo: Requets -> Requests.
This commit is contained in:
Salvatore Sanfilippo 2017-11-28 18:41:28 +01:00 committed by GitHub
commit 26826329f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2453,7 +2453,7 @@ static void statMode(void) {
sprintf(buf,"%ld",aux); sprintf(buf,"%ld",aux);
printf("%-8s",buf); printf("%-8s",buf);
/* Requets */ /* Requests */
aux = getLongInfoField(reply->str,"total_commands_processed"); aux = getLongInfoField(reply->str,"total_commands_processed");
sprintf(buf,"%ld (+%ld)",aux,requests == 0 ? 0 : aux-requests); sprintf(buf,"%ld (+%ld)",aux,requests == 0 ? 0 : aux-requests);
printf("%-19s",buf); printf("%-19s",buf);