Commit 912a5614 authored by Claes Sjofors's avatar Claes Sjofors

Backup load bugfix

parent 971ab74e
......@@ -289,6 +289,7 @@ bck_LoadBackup ()
if (dh.valid) {
/* Find object */
strcpy(objectname, "");
if (dh.dynamic) {
strp = strchr(namep, '.'); /* always is a full object! */
......@@ -311,6 +312,8 @@ bck_LoadBackup ()
strcat(objectname, namep);
sts = gdh_SetObjectInfo(objectname, datap, dh.size);
}
else
strcpy(objectname, cdh_ObjidToString( 0, dh.objid, 1));
}
} /* valid segment */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment