aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/svn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svn.cpp b/src/svn.cpp
index d294f54..dcbd40c 100644
--- a/src/svn.cpp
+++ b/src/svn.cpp
@@ -398,7 +398,7 @@ int SvnPrivate::exportRevision(int revnum)
svn_string_t *svnlog = (svn_string_t*)apr_hash_get(revprops, "svn:log", APR_HASH_KEY_STRING);
QByteArray log = (char *)svnlog->data;
- QByteArray authorident = identities.value((char *)svnauthor->data);
+ QByteArray authorident = svnauthor ? identities.value((char *)svnauthor->data) : QByteArray();
time_t epoch = get_epoch((char*)svndate->data);
if (authorident.isEmpty()) {
if (!svnauthor || svn_string_isempty(svnauthor))