projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sru_z3950: allow CCL in SRU search MP-606
[metaproxy-moved-to-github.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
732e552
..
f23c00c
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-734,9
+734,7
@@
const char *mp::wrbuf::c_str()
const char *mp::wrbuf::c_str_null()
{
const char *mp::wrbuf::c_str_null()
{
- if (wrbuf_len(m_wrbuf))
- return wrbuf_cstr(m_wrbuf);
- return 0;
+ return wrbuf_cstr_null(m_wrbuf);
}
/*
}
/*