*/
attr->stream = stream;
Dmsg1(400, "Attr: %s\n", rec);
- if (sscanf(rec, "%d %d", &attr->file_index, &attr->type) != 2) {
+ if (sscanf(rec, "%ld %ld", &attr->file_index, &attr->type) != 2) {
Jmsg(jcr, M_FATAL, 0, _("Error scanning attributes: %s\n"), rec);
Dmsg1(100, "\nError scanning attributes. %s\n", rec);
return 0;
return 1;
}
+#if defined(HAVE_WIN32)
static void strip_double_slashes(char *fname)
{
char *p = fname;
}
}
}
+#endif
/*
* Build attr->ofname from attr->fname and