]> git.0d.be Git - empathy.git/commitdiff
Assert when we have an invalid pointer
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Aug 2010 14:11:20 +0000 (16:11 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 18 Aug 2010 17:18:55 +0000 (19:18 +0200)
libempathy/empathy-tls-verifier.c

index b71e54828d246c5b3a04f054c6a2b1abfc234894..5ed9bb99600ff47bd33766b16ef71e433e1476a3 100644 (file)
@@ -83,6 +83,8 @@ verification_output_to_reason (gint res,
 {
   gboolean retval = TRUE;
 
+  g_assert (reason != NULL);
+
   if (res != GNUTLS_E_SUCCESS)
     {
       retval = FALSE;