division.c warning fix.. Simple change of syntax for something to clean up a compile...
authornveid <nveid@yahoo.com>
Fri, 17 Dec 2010 23:47:18 +0000 (23:47 +0000)
committernveid <nveid@yahoo.com>
Fri, 17 Dec 2010 23:47:18 +0000 (23:47 +0000)
Ignore-this: 2e62f65df506134f50201d60753453b4

src/division.c

index 3e36acd029d554bd280fd2a06976b1c02dc0b86e..6139875f17f1e3c5587617e43d00fe9c3f0f8723 100644 (file)
@@ -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;