* 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);
}