<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,7 +46,7 @@ int main() {
         }
 
         if (strcmp(comments, &quot;true&quot;) == 0) {
-            strcat(type, &quot;_comment.ct&quot;);
+            strcat(type, &quot;_comments.ct&quot;);
             generate_comments(strtol(entry, NULL, 10), type);
         } else {
             /* defaults to creating the main blog */</diff>
      <filename>main.c</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 #include &lt;stdlib.h&gt;
 #include &lt;stdio.h&gt;
 #include &lt;assert.h&gt;
+#include &lt;string.h&gt;
 #include &quot;hash.h&quot;
 
 
@@ -10,7 +11,7 @@ void test_hash();
 void assert_hash_table(hash_table h);
 
 int main() {
-
+    test_hash();
     return 0;
 }
 
@@ -40,15 +41,15 @@ void test_hash() {
 
     printf(&quot;&gt; Testing hash_add...\n&quot;);
     hash_add(h, &quot;name&quot;, &quot;Tim&quot;, emph);
-    assert(h[hasher(&quot;name&quot;)]-&gt;key == &quot;name&quot;);
-    assert(h[hasher(&quot;name&quot;)]-&gt;val == &quot;Tim&quot;);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;key, &quot;name&quot;) == 0);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;val, &quot;Tim&quot;) == 0);
     assert(h[hasher(&quot;name&quot;)]-&gt;next == NULL);
     assert(h[hasher(&quot;name&quot;)]-&gt;print_f == &amp;emph);
 
     hash_add(h, &quot;a&quot;, &quot;123&quot;, NULL);
     assert(h[hasher(&quot;name&quot;)]-&gt;next != NULL);
-    assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;key == &quot;a&quot;);
-    assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;val == &quot;123&quot;);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;next-&gt;key , &quot;a&quot;) == 0);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;next-&gt;val , &quot;123&quot;) == 0);
     assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;next == NULL);
     assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;print_f == NULL);
     printf(&quot;&gt;&gt;&gt; hash_add passed!\n&quot;);
@@ -75,14 +76,13 @@ void assert_hash_table(hash_table h) {
             assert(h[i] == NULL);
         }
     }
-    assert(h[hasher(&quot;name&quot;)]-&gt;key == &quot;name&quot;);
-    assert(h[hasher(&quot;name&quot;)]-&gt;val == &quot;Tim&quot;);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;key , &quot;name&quot;) == 0);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;val , &quot;Tim&quot;) == 0);
     assert(h[hasher(&quot;name&quot;)]-&gt;print_f == &amp;emph);
     assert(h[hasher(&quot;name&quot;)]-&gt;next != NULL);
-    assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;key == &quot;a&quot;);
-    assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;val == &quot;123&quot;);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;next-&gt;key , &quot;a&quot;) == 0);
+    assert(strcmp(h[hasher(&quot;name&quot;)]-&gt;next-&gt;val , &quot;123&quot;) == 0);
     assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;print_f == NULL);
     assert(h[hasher(&quot;name&quot;)]-&gt;next-&gt;next == NULL);
 }
 
-</diff>
      <filename>test.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>637801539673650cb85ced3e1fddd0b1da4e2f90</id>
    </parent>
  </parents>
  <author>
    <name>Timothy Kim</name>
    <email>highwind@terra.ntelx.net</email>
  </author>
  <url>http://github.com/highwind/clog/commit/60f88b469ba87520e6b4c8a044e9c347442b15c1</url>
  <id>60f88b469ba87520e6b4c8a044e9c347442b15c1</id>
  <committed-date>2009-10-26T11:16:36-07:00</committed-date>
  <authored-date>2009-10-26T11:16:36-07:00</authored-date>
  <message>testing script string compair warning fixed</message>
  <tree>6537af7e93faf336685db46e61c23e887b51d95b</tree>
  <committer>
    <name>Timothy Kim</name>
    <email>highwind@terra.ntelx.net</email>
  </committer>
</commit>
