rctx.jcr = jcr;
/* The following variables keep track of "known unknowns" */
- int non_suppored_data = 0;
- int non_suppored_attr = 0;
- int non_suppored_rsrc = 0;
- int non_suppored_finfo = 0;
- int non_suppored_acl = 0;
- int non_suppored_progname = 0;
- int non_suppored_crypto = 0;
- int non_suppored_xattr = 0;
+ int non_supported_data = 0;
+ int non_supported_attr = 0;
+ int non_supported_rsrc = 0;
+ int non_supported_finfo = 0;
+ int non_supported_acl = 0;
+ int non_supported_progname = 0;
+ int non_supported_crypto = 0;
+ int non_supported_xattr = 0;
sd = jcr->store_bsock;
jcr->setJobStatus(JS_Running);
if (!is_restore_stream_supported(attr->data_stream)) {
Dmsg2(15, "Non-supported data stream %d: %s\n",
attr->data_stream, stream_to_ascii(attr->data_stream));
- if (!non_suppored_data++) {
+ if (!non_supported_data++) {
Jmsg(jcr, M_WARNING, 0, _("%s stream not supported on this Client.\n"),
stream_to_ascii(attr->data_stream));
}
}
}
} else {
- non_suppored_rsrc++;
+ non_supported_rsrc++;
}
break;
continue;
}
} else {
- non_suppored_finfo++;
+ non_supported_finfo++;
}
break;
}
}
} else {
- non_suppored_acl++;
+ non_supported_acl++;
}
break;
}
}
} else {
- non_suppored_xattr++;
+ non_supported_xattr++;
}
break;
goto get_out;
}
} else {
- non_suppored_xattr++;
+ non_supported_xattr++;
}
break;
case STREAM_PROGRAM_NAMES:
case STREAM_PROGRAM_DATA:
- if (!non_suppored_progname) {
+ if (!non_supported_progname) {
Pmsg0(000, "Got Program Name or Data Stream. Ignored.\n");
- non_suppored_progname++;
+ non_supported_progname++;
}
break;
}
#endif
- if (non_suppored_data > 1 || non_suppored_attr > 1) {
+ if (non_supported_data > 1 || non_supported_attr > 1) {
Jmsg(jcr, M_WARNING, 0, _("%d non-supported data streams and %d non-supported attrib streams ignored.\n"),
- non_suppored_data, non_suppored_attr);
+ non_supported_data, non_supported_attr);
}
- if (non_suppored_rsrc) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported resource fork streams ignored.\n"), non_suppored_rsrc);
+ if (non_supported_rsrc) {
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported resource fork streams ignored.\n"), non_supported_rsrc);
}
- if (non_suppored_finfo) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported Finder Info streams ignored.\n"), non_suppored_finfo);
+ if (non_supported_finfo) {
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported Finder Info streams ignored.\n"), non_supported_finfo);
}
- if (non_suppored_acl) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported acl streams ignored.\n"), non_suppored_acl);
+ if (non_supported_acl) {
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported acl streams ignored.\n"), non_supported_acl);
}
- if (non_suppored_crypto) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported crypto streams ignored.\n"), non_suppored_acl);
+ if (non_supported_crypto) {
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported crypto streams ignored.\n"), non_supported_crypto);
}
- if (non_suppored_xattr) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported xattr streams ignored.\n"), non_suppored_xattr);
+ if (non_supported_xattr) {
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported xattr streams ignored.\n"), non_supported_xattr);
}
/* Free Signature & Crypto Data */