~vcs-imports/sapwood/trunk

« back to all changes in this revision

Viewing changes to tests/double-free.c

  • Committer: herzi
  • Date: 2009-01-16 13:31:41 UTC
  • Revision ID: vcs-imports@canonical.com-20090116133141-e1fdiqk9ghljplea
2009-01-16  Sven Herzberg  <sven@imendio.com>

        Added fatal warnings

        * tests/double-free.c (main): enable fatal warnings when arguments are
        passed

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
 
207
207
  gdk_init (&argc, &argv);
208
208
 
 
209
  if (argc > 1) {
 
210
          g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
 
211
  }
 
212
 
209
213
  fd = sapwood_client_get_socket (&error);
210
214
  if (fd == -1)
211
215
    {