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
Completes. But still wrong tests
[pazpar2-moved-to-github.git]
/
src
/
pazpar2_config.c
diff --git
a/src/pazpar2_config.c
b/src/pazpar2_config.c
index
73176b8
..
052b457
100644
(file)
--- a/
src/pazpar2_config.c
+++ b/
src/pazpar2_config.c
@@
-134,8
+134,8
@@
struct conf_service *service_init(struct conf_server *server,
service->z3950_operation_timeout = 30;
service->rank_cluster = 1;
service->rank_debug = 0;
service->z3950_operation_timeout = 30;
service->rank_cluster = 1;
service->rank_debug = 0;
- service->rank_follow = 0;
- service->rank_lead = 0;
+ service->rank_follow = 0.0;
+ service->rank_lead = 0.0;
service->rank_length = 2;
service->charsets = 0;
service->rank_length = 2;
service->charsets = 0;
@@
-654,11
+654,11
@@
static struct conf_service *service_create_static(struct conf_server *server,
}
if (rank_follow)
{
}
if (rank_follow)
{
- service->rank_follow = atoi(rank_follow);
+ service->rank_follow = atof(rank_follow);
}
if (rank_lead)
{
}
if (rank_lead)
{
- service->rank_lead = atoi(rank_lead);
+ service->rank_lead = atof(rank_lead);
}
if (rank_length)
{
}
if (rank_length)
{