Skip to content

Commit

Permalink
Merge pull request #22 from git-user-cpp/development
Browse files Browse the repository at this point in the history
Optimized RAM using
  • Loading branch information
git-user-cpp authored Jan 23, 2024
2 parents d67233c + 2b21ba5 commit 499a14c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added spynix
Binary file not shown.
2 changes: 1 addition & 1 deletion src/hlp/hlp_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ void print_hlp_info(void)
void print_ver_info(void)
{
print_banner();
printf("spynix v4.0.1\n\nFor more info visit: https://github.com/git-user-cpp/spynix\n");
printf("spynix v4.0.2\n\nFor more info visit: https://github.com/git-user-cpp/spynix\n");
}
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int main(int argc, char **argv)
}
else if(strcmp(argv[1], "-net") == 0)
{
char host_name[100];
char host_name[30];
printf("Enter a hostname or IP address: ");
fgets(host_name, sizeof(host_name), stdin);
host_name[strcspn(host_name, "\n")] = '\0';
Expand Down

0 comments on commit 499a14c

Please sign in to comment.