Ignore:
Timestamp:
Sep 9, 2007, 1:00:49 AM (13 years ago)
Author:
Bruno Cornec
Message:

remove g_loglevel and replaced with mr_conf->log_level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondoarchive.c

    r1594 r1625  
    4949extern char *g_magicdev_command;
    5050extern t_bkptype g_backup_media_type;
    51 extern int g_loglevel;
    5251
    5352extern char *get_uname_m(void);
     
    501500
    502501    if (argc == 4 && !strcmp(argv[1], "getfattr")) {
    503         g_loglevel = 10;
     502        mr_conf->log_level = 10;
    504503        g_text_mode = TRUE;
    505504        setup_newt_stuff();
     
    513512    }
    514513    if (argc == 4 && !strcmp(argv[1], "setfattr")) {
    515         g_loglevel = 10;
     514        mr_conf->log_level = 10;
    516515        g_text_mode = TRUE;
    517516        setup_newt_stuff();
     
    520519
    521520    if (argc == 3 && !strcmp(argv[1], "wildcards")) {
    522         g_loglevel = 10;
     521        mr_conf->log_level = 10;
    523522        g_text_mode = TRUE;
    524523        setup_newt_stuff();
     
    530529
    531530    if (argc == 4 && !strcmp(argv[1], "getfacl")) {
    532         g_loglevel = 10;
     531        mr_conf->log_level = 10;
    533532        g_text_mode = TRUE;
    534533        setup_newt_stuff();
     
    542541    }
    543542    if (argc == 4 && !strcmp(argv[1], "setfacl")) {
    544         g_loglevel = 10;
     543        mr_conf->log_level = 10;
    545544        g_text_mode = TRUE;
    546545        setup_newt_stuff();
     
    549548
    550549    if (argc > 2 && !strcmp(argv[1], "find-cd")) {
    551         g_loglevel = 10;
     550        mr_conf->log_level = 10;
    552551        g_text_mode = TRUE;
    553552        setup_newt_stuff();
     
    569568
    570569    if (argc > 2 && !strcmp(argv[1], "find-dvd")) {
    571         g_loglevel = 10;
     570        mr_conf->log_level = 10;
    572571        g_text_mode = TRUE;
    573572        setup_newt_stuff();
Note: See TracChangeset for help on using the changeset viewer.