git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e843a75
)
A generic warning is generated on encountering an unknown error origin
author
Daniel Kouřil
<kouril@ics.muni.cz>
Thu, 19 Jan 2012 08:25:18 +0000
(08:25 +0000)
committer
Daniel Kouřil
<kouril@ics.muni.cz>
Thu, 19 Jan 2012 08:25:18 +0000
(08:25 +0000)
emi.canl.canl-c/src/canl_err.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl_err.c
b/emi.canl.canl-c/src/canl_err.c
index
8353da0
..
60821ab
100644
(file)
--- a/
emi.canl.canl-c/src/canl_err.c
+++ b/
emi.canl.canl-c/src/canl_err.c
@@
-171,6
+171,9
@@
static void get_error_string(glb_ctx *cc, char *code_str)
}
break;
default:
+ snprintf(code_str, ERR_CODE_LEN,
+ "Unknown error origin (%d) of error %d!",
+ cc->err_orig, cc->err_code)
break;
}
}