~ubuntu-branches/ubuntu/oneiric/preload/oneiric

« back to all changes in this revision

Viewing changes to src/conf.c

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2007-03-20 19:22:06 UTC
  • mfrom: (3.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20070320192206-fskqzfwmzyb3fo8t
Tags: 0.4-4
Close the file descriptor when writing state to a file in src/state.c,
preload_state_save() (Closes: #415595)

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
          char **p = v; \
117
117
          if (p) \
118
118
            fprintf (stderr, "%s", *p++); \
119
 
          while (p) \
 
119
          while (p && *p) \
120
120
            fprintf (stderr, ";%s", *p++); \
121
121
        } G_STMT_END 
122
122
#define confkey(grp, type, key, def, unit) \