Upload files to "/"
This commit is contained in:
parent
03203d3998
commit
8aeef44559
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
||||||
# cutecat.c
|
# cutecat.c
|
||||||
|
Make output more cute!
|
||||||
|
|
|
@ -16,7 +16,7 @@ void OwO(char *buf, off_t len) {
|
||||||
for (int i = 0; i < len / 10; i++) {
|
for (int i = 0; i < len / 10; i++) {
|
||||||
size_t i = rand() % len;
|
size_t i = rand() % len;
|
||||||
|
|
||||||
if (i + 3 < len && !isspace(buf[i]) && !isspace(buf[i + 2])) {
|
if (i + 3 < len && !isspace(buf[i]) && !isspace(buf[i + 1]) && !isspace(buf[i + 2])) {
|
||||||
char eye = eyes[rand() % sizeof(eyes)];
|
char eye = eyes[rand() % sizeof(eyes)];
|
||||||
|
|
||||||
buf[i] = eye;
|
buf[i] = eye;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue