Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny cleanup #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Nyancat rendered in your terminal.
Nyancat is available in the following distributions:

- [Arch](https://www.archlinux.org/packages/?q=nyancat)
- [Debian](http://packages.qa.debian.org/n/nyancat.html)
- [Debian](https://tracker.debian.org/pkg/nyancat)
- [Fedora](https://src.fedoraproject.org/rpms/nyancat)
- [Gentoo](http://packages.gentoo.org/package/games-misc/nyancat)
- [Mandriva](http://sophie.zarb.org/rpms/928724d4aea0efdbdeda1c80cb59a7d3)
Expand Down
4 changes: 2 additions & 2 deletions src/nyancat.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void finish() {
* In the standalone mode, we want to handle an interrupt signal
* (^C) so that we can restore the cursor and clear the terminal.
*/
void SIGINT_handler(int sig){
void SIGINT_handler(int sig) {
(void)sig;
finish();
}
Expand Down Expand Up @@ -544,7 +544,7 @@ int main(int argc, char ** argv) {
sb_len = 0;
memset(sb, 0, sizeof(sb));
break;
case IAC:
case IAC:
/* IAC IAC? That's probably not right. */
done = 2;
break;
Expand Down