projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Command bytarget addinfo from diagnostics
[pazpar2-moved-to-github.git]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
1c7d467
..
9eac1a9
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-224,7
+224,7
@@
static void non_block_events(struct connection *co)
{
yaz_log(YLOG_LOG, "Error %s from %s",
error, client_get_id(cl));
{
yaz_log(YLOG_LOG, "Error %s from %s",
error, client_get_id(cl));
- client_set_diagnostic(cl, err);
+ client_set_diagnostic(cl, err, addinfo);
client_set_state(cl, Client_Error);
}
else
client_set_state(cl, Client_Error);
}
else
@@
-287,7
+287,7
@@
void connection_continue(struct connection *co)
{
yaz_log(YLOG_LOG, "Error %s from %s",
error, client_get_id(co->client));
{
yaz_log(YLOG_LOG, "Error %s from %s",
error, client_get_id(co->client));
- client_set_diagnostic(co->client, err);
+ client_set_diagnostic(co->client, err, addinfo);
client_set_state_nb(co->client, Client_Error);
}
}
client_set_state_nb(co->client, Client_Error);
}
}