Updated LICENSE and CHANGELOG.
[idzebra-moved-to-github.git] / isam / issh.c
index 5f6181e..fc83458 100644 (file)
@@ -4,7 +4,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <assert.h>
 
 #include <isam.h>
@@ -143,8 +143,8 @@ int main()
 
     log_init(LOG_ALL, "issh", 0);
 
-    assert(common_resource = res_open("testres"));
-
+    common_resource = res_open("testres");
+    assert(common_resource);
 
     for (;;)
     {