pm_strcpy(fname, sp.fname);
pm_strcpy(link, sp.link);
- if (sp.plug_meta) {
+ ff_pkt->plug_meta = NULL;
+ if (sp.plug_meta){
/* File has some metadata assigned to it */
ff_pkt->plug_meta = sp.plug_meta;
}
/*
* This packet is used for file save info transfer.
-*/
+ */
struct save_pkt {
int32_t pkt_size; /* size of this packet */
char *fname; /* Full path and filename */
/*
* This packet is used for file restore info transfer.
-*/
+ */
struct restore_pkt {
int32_t pkt_size; /* size of this packet */
bplugin_mode_t plugin_mode; /* Not used anymore, don't remove */
/*
* This packet is used for file restore info transfer.
-*/
+ */
struct restore_filelist_pkt {
int32_t pkt_size; /* size of this packet */
bplugin_mode_t plugin_mode; /* Not used anymore, don't remove */