]> andersk Git - moira.git/blobdiff - dbck/phase3.qc
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / dbck / phase3.qc
index 18a7f7ec01b3bd3630360dfbf97073af366d5cc9..0a85f74666cf850229329c47acb1257fbadee90f 100644 (file)
@@ -27,16 +27,16 @@ struct list *l;
  * increments the string reference count.
  */
 
-int string_check(id)
+struct string *string_check(id)
 int id;
 {
     register struct string *s;
 
     s = (struct string *) hash_lookup(strings, id);
     if (s == NULL)
-      return(0);
+      return(s);
     s->refc++;
-    return(1);
+    return(s);
 }
 
 
This page took 0.966446 seconds and 4 git commands to generate.