-
-
- snprintf(level_str, sizeof(level_str), "%d", level);
-
- fprintf(stderr, "%s: start [%s:%s level %d]\n",
- get_pname(), host, disk, level);
-
- /* apply client-side encryption here */
- if ( options->encrypt == ENCRYPT_CUST ) {
- encpid = pipespawn(options->clnt_encrypt, STDIN_PIPE,
- &compout, &dataf, &mesgf,
- options->clnt_encrypt, encryptopt, NULL);
- dbprintf(("%s: pid %ld: %s\n",
- debug_prefix_time("-gnutar"), (long)encpid, options->clnt_encrypt));
- } else {
+ char *qdisk;
+ char *config;
+ am_level_t *alevel = (am_level_t *)dle->levellist->data;
+ int level = alevel->level;
+
+ g_snprintf(level_str, SIZEOF(level_str), "%d", level);
+
+ qdisk = quote_string(dle->disk);
+ dbprintf(_("start: %s:%s lev %d\n"), host, qdisk, level);
+
+ g_fprintf(stderr, _("%s: start [%s:%s level %d]\n"),
+ get_pname(), host, qdisk, level);
+ amfree(qdisk);
+
+ /* apply client-side encryption here */
+ if (dle->encrypt == ENCRYPT_CUST ) {
+ encpid = pipespawn(dle->clnt_encrypt, STDIN_PIPE, 0,
+ &compout, &dataf, &mesgf,
+ dle->clnt_encrypt, encryptopt, NULL);
+ dbprintf(_("gnutar: pid %ld: %s\n"), (long)encpid, dle->clnt_encrypt);
+ } else {