Merge branch 'upstream'
[debian/amanda] / server-src / taper.c
index d5b72af25578559da2f06619a78911551d6060ce..71fba25fcff1cb97f73371a07eb8d50f3215ab16 100644 (file)
@@ -573,7 +573,6 @@ skip_volume:
        putresult(NO_NEW_TAPE, "%s\n", dump_info->handle);
        return FALSE;
     }
-}
 
 /* Find out if the dump is PARTIAL or not, and set the proper driver
    and logfile tags for the dump. */
@@ -587,6 +586,9 @@ static void find_completion_tags(dump_info_t * dump_info, /* IN */
         *result_cmd = DONE;
         *result_log = L_DONE;
     }
+
+    memcpy(intp, &buf[1], SIZEOF(int));
+    return (int)buf[0];
 }
 
 /* Put an L_PARTIAL message to the logfile. */