mirror of https://github.com/dirtbags/moth.git
Fixing those stupid exit(10); things. ~Cherish
This commit is contained in:
parent
06d4645f88
commit
59392e54d8
|
@ -16,7 +16,7 @@
|
|||
static void DieWithError(const char* errorMessage)
|
||||
{
|
||||
fprintf(stderr, "%s\n", errorMessage);
|
||||
exit(10);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
@ -32,7 +32,7 @@ int main(int argc, char *argv[])
|
|||
if (argc != 4)
|
||||
{
|
||||
fprintf(stderr, "Usage: %s <Multicast Address> <Port> <Send String>\n", argv[0]);
|
||||
exit(10);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
multicastIP = argv[1]; /* First arg: multicast IP address */
|
||||
|
|
Loading…
Reference in New Issue