Skip to content

Commit 7771c68

Browse files
committed
ashfdj
1 parent 757e265 commit 7771c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

0x06-pointers_arrays_strings/0-strcat.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ char *_strcat(char *dest, char *src)
1818
index++;
1919
}
2020

21-
for(index = 0; src[index] != '\0';index++)
21+
for (index = 0; src[index] != '\0'; index++)
2222
{
2323
dest[len + index] = src[index];
2424
}
2525
dest[len + index] = '\0';
2626

27-
return(dest);
27+
return (dest);
2828
}

0 commit comments

Comments
 (0)