From 598ceae876ff4a23072e59945597e945583de4ab Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 28 Nov 2017 17:56:10 +0200 Subject: bpo-32150: Expand tabs to spaces in C files. (#4583) --- Python/strdup.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Python/strdup.c') diff --git a/Python/strdup.c b/Python/strdup.c index 769d3db130..99dc77417b 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -5,10 +5,10 @@ char * strdup(const char *str) { - if (str != NULL) { - char *copy = malloc(strlen(str) + 1); - if (copy != NULL) - return strcpy(copy, str); - } - return NULL; + if (str != NULL) { + char *copy = malloc(strlen(str) + 1); + if (copy != NULL) + return strcpy(copy, str); + } + return NULL; } -- cgit v1.2.1