From 6d9b02e6de2a2201bc7f6a1648b1d4a542f59c93 Mon Sep 17 00:00:00 2001 From: javalsai Date: Wed, 25 Dec 2024 19:34:40 +0100 Subject: [PATCH] =?UTF-8?q?grammer:=20codespell=20=F0=9F=A4=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codespellrc | 2 +- src/auth.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.codespellrc b/.codespellrc index a8f0594..9122e4a 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,2 +1,2 @@ [codespell] -skip = ./assets/pkg/aur/*/src +skip = ./assets/pkg/aur/*/src,./assets/pkg/aur/*/*/objects diff --git a/src/auth.c b/src/auth.c index 2af0cc3..a0459bc 100644 --- a/src/auth.c +++ b/src/auth.c @@ -131,9 +131,9 @@ void moarEnv(char *user, struct session session, struct passwd *pw, char *newbuf = malloc(home_len + strlen(file2sourcepath) + 2); // nullbyte and slash if (newbuf == NULL) - continue; // cant bother + continue; // can't bother strcpy(newbuf, pw->pw_dir); - newbuf[home_len] = '/'; // assume pw_dir doesnt start with '/' :P + newbuf[home_len] = '/'; // assume pw_dir doesn't start with '/' :P strcpy(&newbuf[home_len + 1], file2sourcepath); /* printf("DEBUG(user_source)!!!! %d %s\n", i, newbuf); */