From 7f7930aa1ce88975fc7cb01f8ef9c0efe3f3874c Mon Sep 17 00:00:00 2001 From: nveid Date: Fri, 17 Dec 2010 23:47:18 +0000 Subject: [PATCH] division.c warning fix.. Simple change of syntax for something to clean up a compiler warning Ignore-this: 2e62f65df506134f50201d60753453b4 --- src/division.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.30.2