Created SILC Runtime Toolkit git repository Part II.
[runtime.git] / lib / silcutil / silcasync.c
index 3e7294d778018c0fd7312f0cd0bee287f2b51204..09d3d1cf9fee54591e494bd9876cfec803f98667 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 2005 Pekka Riikonen
+  Copyright (C) 2005 - 2008 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 
 */
 
-#include "silc.h"
+#include "silcruntime.h"
 
 /* Halts async operation */
 
@@ -87,7 +87,7 @@ SilcBool silc_async_init(SilcAsyncOperation op,
                         SilcAsyncOperationPause pause_cb,
                         void *context)
 {
-  assert(abort_cb);
+  SILC_ASSERT(abort_cb);
   op->abort_cb = abort_cb;
   op->pause_cb = pause_cb;
   op->context = context;