projects
/
empserver
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06753c7
)
Replace exit(-1) by exit(1)
author
Markus Armbruster
<armbru@pond.sub.org>
Sat, 29 Oct 2011 18:25:01 +0000
(20:25 +0200)
committer
Markus Armbruster
<armbru@pond.sub.org>
Thu, 29 Dec 2011 10:47:05 +0000
(11:47 +0100)
exit() uses only the least significant byte of its argument.
src/util/fairland.c
patch
|
blob
|
history
diff --git
a/src/util/fairland.c
b/src/util/fairland.c
index d2e2cc8963cf85d396c1d429ae051d7b8efe3a6f..fcaf94f75cf4f8998cf3ae623a627a2068bebc6d 100644
(file)
--- a/
src/util/fairland.c
+++ b/
src/util/fairland.c
@@
-267,7
+267,7
@@
main(int argc, char *argv[])
write_sects();
qprint("writing to sectors file...\n");
if (!ef_close(EF_SECTOR))
- exit(
-
1);
+ exit(1);
output();
qprint("\n\nA script for adding all the countries can be found in \"%s\".\n",