}
}
- /* replace \ with / */
+ /* replace / with \ */
while (*from) {
- if (*from == '\\') {
- *to = '/';
+ if (*from == '/') {
+ *to = '\\';
} else {
*to = *from;
}
return 0;
}
+/* static int send_file(struct archive_entry *entry, */
/**
* cmd_tar - interactive command to start a tar backup/restoration