Skip to content

Commit

Permalink
grammer: codespell 🤓
Browse files Browse the repository at this point in the history
  • Loading branch information
javalsai committed Dec 25, 2024
1 parent f03656f commit 6d9b02e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[codespell]
skip = ./assets/pkg/aur/*/src
skip = ./assets/pkg/aur/*/src,./assets/pkg/aur/*/*/objects
4 changes: 2 additions & 2 deletions src/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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); */
Expand Down

0 comments on commit 6d9b02e

Please sign in to comment.