Fix cmdline argument check
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 6 Mar 2016 19:49:18 +0000 (20:49 +0100)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 6 Mar 2016 19:49:18 +0000 (20:49 +0100)
commitb954ed4b9f1ef7e3d4ebb3bc964338726549bfab
tree862baab84abbc76647d429295bcf500787a4da7e
parent616aafdcb9bd336a870d875a20645d8002d8a028
Fix cmdline argument check

There was a segfault when sent was called without arguments. Now we use stdin
when there's no argument or - is used. Thanks to izabera for the report.
README.md
sent.c