public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23aff10
)
more robust version
author
ceriel
<none@none>
Tue, 31 Mar 1987 08:15:22 +0000
(08:15 +0000)
committer
ceriel
<none@none>
Tue, 31 Mar 1987 08:15:22 +0000
(08:15 +0000)
util/misc/convert.c
patch
|
blob
|
history
diff --git
a/util/misc/convert.c
b/util/misc/convert.c
index
bdf2348
..
d871ad4
100644
(file)
--- a/
util/misc/convert.c
+++ b/
util/misc/convert.c
@@
-55,10
+55,10
@@
main(argc,argv)
if (p->em_type == EM_FATAL) {
fatal("%s", EM_error);
}
- if (
p->em_type == EM_ERROR
) {
+ if (
EM_error
) {
error("%s", EM_error);
}
- if (!EM_mkcalls(p)) {
+ if (
p->em_type != EM_ERROR &&
!EM_mkcalls(p)) {
error("%s", EM_error);
}
p = EM_getinstr();