> - look_at_target(ch, arg);
> + look_at_target(ch, str_dup(arg));
And if you do this... you just added a memory leak to your code.
You should try something like:
char *b;
...
b = str_dup(arg);
look_at_target(ch, b);
free(b);
Ae.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT