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); */