Created SILC Runtime Toolkit git repository Part II.
[runtime.git] / lib / silcutil / tests / test_silcmime.c
index d3b7d35d9fe956a74dc03d51087c703eb11b8760..5cf38bd82a8f4791b15f6223f8d7b613cb68484d 100644 (file)
@@ -1,6 +1,6 @@
 /* SilcMime tests */
 
-#include "silc.h"
+#include "silcruntime.h"
 #include "silcmime.h"
 
 int main(int argc, char **argv)
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
     silc_log_set_debug_string("*mime*,*errno*");
   }
 
-  /* 
+  /*
    * Simple MIME test
    */
   SILC_LOG_DEBUG(("Allocating MIME message context"));
@@ -279,5 +279,5 @@ int main(int argc, char **argv)
   SILC_LOG_DEBUG(("Testing was %s", success ? "SUCCESS" : "FAILURE"));
   fprintf(stderr, "Testing was %s\n", success ? "SUCCESS" : "FAILURE");
 
-  return success;
+  return !success;
 }