]> andersk Git - moira.git/blobdiff - clients/moira/user.c
Display user creation times.
[moira.git] / clients / moira / user.c
index a2d3c9a656edd469b16ea8b63950bf17b1e5e117..0e5c534a1ba12120b9bb39b374f75b4b23fac245 100644 (file)
@@ -125,6 +125,8 @@ static void PrintUserInfo(char **info)
     }
   sprintf(buf, "Comments: %s", info[U_COMMENT]);
   Put_message(buf);
+  sprintf(buf, "Created  by %s on %s.", info[U_CREATOR], info[U_CREATED]);
+  Put_message(buf);
   sprintf(buf, MOD_FORMAT, info[U_MODBY], info[U_MODTIME], info[U_MODWITH]);
   Put_message(buf);
 }
@@ -151,6 +153,7 @@ static char **SetUserDefaults(char **info)
   info[U_SIGNATURE] = strdup("");
   info[U_SECURE] = strdup("0");
   info[U_MODTIME] = info[U_MODBY] = info[U_MODWITH] = info[U_END] = NULL;
+  info[U_CREATED] = info[U_CREATOR] = NULL;
   return info;
 }
 
This page took 0.032951 seconds and 4 git commands to generate.