Permalink
Browse files

Cleanup PR 119: Fix failure to send RestoreObjects for Jobs.

Fixes #805: can't restore vmware-plugin assisted backups via webui

Also updated AUTHORS file
  • Loading branch information...
pstorz committed Nov 15, 2018
1 parent 9832ac6 commit b840892b2db8dbfd26a084847470f33992e94e0d
Showing with 2 additions and 8 deletions.
  1. +1 −0 AUTHORS
  2. +1 −8 core/src/dird/ua_restore.cc
@@ -64,6 +64,7 @@ Frank Bergkemper
Frank Kardel
Frank Sweetser
Frank Ueberschar
Geoffrey McRae
Graham Keeling
Grzegorz Grabowski
Holger Weiss
@@ -1557,14 +1557,7 @@ static int JobidFileindexHandler(void *ctx, int num_fields, char **row)
rx->found = true;
rx->selected_files++;
if (bstrcmp(rx->last_jobid, row[0])) {
return 0; /* duplicate id */
}
bstrncpy(rx->last_jobid, row[0], sizeof(rx->last_jobid));
if (rx->JobIds[0] != 0) {
PmStrcat(rx->JobIds, ",");
}
PmStrcat(rx->JobIds, row[0]);
JobidHandler(ctx, num_fields, row);
return 0;
}

0 comments on commit b840892

Please sign in to comment.