~ubuntu-branches/ubuntu/precise/netams/precise

« back to all changes in this revision

Viewing changes to src/netamsctl.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-11-26 02:08:19 UTC
  • Revision ID: james.westby@ubuntu.com-20091126020819-mfn4urmlr1id955h
Tags: 3.4.3+dfsg1-3
debian/copyright: add more details about sources of some part of the
code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                sprintf(str, "%s/.netamsctl.rc", homedir);
51
51
                RCFILE=fopen(str, "rt");
52
52
        }
53
 
        if (!RCFILE) RCFILE=fopen(".netamsctl.rc", "rt");
54
 
        if (!RCFILE) RCFILE=fopen("/usr/local/etc/.netamsctl.rc", "rt");
55
 
        if (!RCFILE) RCFILE=fopen("/etc/.netamsctl.rc", "rt");
 
53
        if (!RCFILE) RCFILE=fopen("/etc/netams/netamsctl.rc", "rt");
56
54
        if (!RCFILE) { printf("unable to open .rc file\n"); exit(-1); }
57
55
        }
58
56