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
Avoid mixed stmt/var declare
[pazpar2-moved-to-github.git]
/
src
/
normalize_cache.c
diff --git
a/src/normalize_cache.c
b/src/normalize_cache.c
index
2d69f33
..
3ae9124
100644
(file)
--- a/
src/normalize_cache.c
+++ b/
src/normalize_cache.c
@@
-1,5
+1,5
@@
/* This file is part of Pazpar2.
/* This file is part of Pazpar2.
- Copyright (C) 2006-2012 Index Data
+ Copyright (C) Index Data
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-57,7
+57,7
@@
normalize_cache_t normalize_cache_create(void)
normalize_record_t normalize_cache_get(normalize_cache_t nc,
struct conf_service *service,
normalize_record_t normalize_cache_get(normalize_cache_t nc,
struct conf_service *service,
- const char *spec, int embed)
+ const char *spec)
{
normalize_record_t nt;
struct cached_item *ci;
{
normalize_record_t nt;
struct cached_item *ci;
@@
-70,7
+70,7
@@
normalize_record_t normalize_cache_get(normalize_cache_t nc,
nt = ci->nt;
else
{
nt = ci->nt;
else
{
- nt = normalize_record_create(service, spec, embed);
+ nt = normalize_record_create(service, spec);
if (nt)
{
ci = nmem_malloc(nc->nmem, sizeof(*ci));
if (nt)
{
ci = nmem_malloc(nc->nmem, sizeof(*ci));