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
Fix description of charset for pz:nativesyntax
[pazpar2-moved-to-github.git]
/
src
/
marcmap.c
diff --git
a/src/marcmap.c
b/src/marcmap.c
index
42491e2
..
59cf858
100644
(file)
--- a/
src/marcmap.c
+++ b/
src/marcmap.c
@@
-54,6
+54,8
@@
struct marcmap *marcmap_load(const char *filename, NMEM nmem)
mm = NULL;
mmhead = NULL;
fp = fopen(filename, "r");
+ if (!fp)
+ return mmhead;
while ((c = getc(fp) ) != EOF)
{