~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to server/desc.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-07-20 19:48:50 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050720194850-oo61wjr33rrx2mre
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "common.h"
23
23
#include "parseconf.h"
24
24
 
 
25
#include "desc.h"
 
26
 
25
27
extern const char *datapath;
26
28
 
27
29
struct dlist_t {
98
100
                *list = tmp;
99
101
}
100
102
 
101
 
void desc_file_err(const char *errmsg)
 
103
static void desc_file_err(const char *errmsg)
102
104
{
103
105
        upslogx(LOG_ERR, "Fatal error in parseconf (cmdvartab): %s", errmsg);
104
106
}
125
127
                if (pconf_parse_error(&ctx)) {
126
128
                        upslogx(LOG_ERR, "Parse error: %s:%d: %s",
127
129
                                fn, ctx.linenum, ctx.errmsg);
128
 
                        
 
130
 
129
131
                        continue;
130
132
                }
131
133