- fix
authorSree Harsha Totakura <totakura@in.tum.de>
Wed, 7 Nov 2012 18:26:52 +0000 (18:26 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Wed, 7 Nov 2012 18:26:52 +0000 (18:26 +0000)
src/chat/chat.c

index b2078e563e4895420eb0d0c9f4981d355225ad07..cdcf282e25894335a68bfa0d4e5b72ebeac98a9f 100644 (file)
@@ -473,7 +473,7 @@ init_private_key (const struct GNUNET_CONFIGURATION_Handle *cfg,
     return NULL;
   }
   GNUNET_DISK_directory_create (home);
-  if (GNUNET_OK != GNUNET_DISK_directory_test (home, GNUNET_YES))
+  if (GNUNET_YES != GNUNET_DISK_directory_test (home, GNUNET_YES))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _("Failed to access chat home directory `%s'\n"), home);