~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/update.c

  • Committer: Michael Vogt
  • Date: 2009-03-26 10:04:40 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090326100440-da2q3504g0u29ndx
fix crash in --debug mode (LP: #348883)

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
g_debug_update(const char *msg, ...)
42
42
{
43
43
   va_list va;
44
 
   
45
 
   g_log("update",G_LOG_LEVEL_DEBUG, msg, va);
 
44
   va_start(va, msg);
 
45
   g_logv("update",G_LOG_LEVEL_DEBUG, msg, va);
 
46
   va_end(va);
46
47
}
47
48
 
48
49
static gboolean