HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a00eaf1
)
(scm_resolv_error): don't cause an exception while
author
Rob Browning
<rlb@defaultvalue.org>
Sat, 7 Aug 2004 03:48:17 +0000
(
03:48
+0000)
committer
Rob Browning
<rlb@defaultvalue.org>
Sat, 7 Aug 2004 03:48:17 +0000
(
03:48
+0000)
trying to throw an exception -- call scm_misc_error with correct
arguments. The previous arguments needed a format escape that
wasn't in any of the format strings.
libguile/net_db.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/net_db.c
b/libguile/net_db.c
index
d13c5f7
..
5395991
100644
(file)
--- a/
libguile/net_db.c
+++ b/
libguile/net_db.c
@@
-110,7
+110,7
@@
static void scm_resolv_error (const char *subr, SCM bad_value)
#ifdef HAVE_HSTRERROR
errmsg = (const char *) hstrerror (h_errno);
#endif
- scm_error (key, subr, errmsg,
scm_cons (bad_value, SCM_EOL)
, SCM_EOL);
+ scm_error (key, subr, errmsg,
SCM_BOOL_F
, SCM_EOL);
}
}