aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libq/atom_explode.c')
-rw-r--r--libq/atom_explode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libq/atom_explode.c b/libq/atom_explode.c
index e52f149..faf24ff 100644
--- a/libq/atom_explode.c
+++ b/libq/atom_explode.c
@@ -200,6 +200,8 @@ atom_explode(const char *atom)
if (ptr == NULL) {
/* atom has no version, this is it */
+ strcpy(ret->P, ret->PN);
+ ret->PVR = NULL;
return ret;
}
ret->PV = ptr;