~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to parser-cfg.c

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                mp_msg(MSGT_CFGPARSER,MSGL_FATAL,"\ncan't get memory for 'line': %s", strerror(errno));
74
74
                ret = -1;
75
75
                goto out;
76
 
        }
 
76
        } else
 
77
 
 
78
        mp_msg(MSGT_CFGPARSER,MSGL_V,"\n");
77
79
 
78
80
        if ((fp = fopen(conffile, "r")) == NULL) {
79
81
          mp_msg(MSGT_CFGPARSER,MSGL_V,": %s\n", strerror(errno));
81
83
                ret = 0;
82
84
                goto out;
83
85
        }
84
 
        mp_msg(MSGT_CFGPARSER,MSGL_INFO,"\n");
85
86
 
86
87
        while (fgets(line, MAX_LINE_LEN, fp)) {
87
88
                if (errors >= 16) {