From: nveid Date: Fri, 17 Dec 2010 23:47:18 +0000 (+0000) Subject: division.c warning fix.. Simple change of syntax for something to clean up a compile... X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=7f7930aa1ce88975fc7cb01f8ef9c0efe3f3874c;p=cobramush.git division.c warning fix.. Simple change of syntax for something to clean up a compiler warning Ignore-this: 2e62f65df506134f50201d60753453b4 --- diff --git a/src/division.c b/src/division.c index 3e36acd..6139875 100644 --- a/src/division.c +++ b/src/division.c @@ -1608,8 +1608,7 @@ create_div(dbref owner, const char *name) } Parent(obj) = SDIV(owner).object; current_state.divisions++; - strcpy(buf, unparse_object(owner, obj)); - strcpy(buf2, unparse_object(owner, SDIV(obj).object)); + sprintf(buf, object_header(owner, obj)); notify_format(owner, T("Division created: %s Parent division: %s"), buf, buf2); return obj;