]> andersk Git - moira.git/blobdiff - clients/moira/cluster.c
This version seems to implement almost all correctly, more testing
[moira.git] / clients / moira / cluster.c
index 352ee8f17e750adcc8c8b43e7c180bb409e5da54..1db7298615f1777f875d1740b357c9f98e0648ba 100644 (file)
@@ -101,8 +101,7 @@ char ** info;
     Put_message("");
     sprintf(buf, "Machine: %-30s Type: %s", info[M_NAME], info[M_TYPE]);
     Put_message(buf);
-    sprintf(buf, "Last Modified at %s, by %s with %s",info[M_MODTIME],
-           info[M_MODBY], info[M_MODWITH]);
+    sprintf(buf, MOD_FORMAT, info[M_MODBY], info[M_MODTIME], info[M_MODWITH]);
     Put_message(buf);
     return(info[M_NAME]);
 }
@@ -127,8 +126,7 @@ char ** info;
     Put_message(buf);
     sprintf(buf, "Location:    %s", info[C_LOCATION]);
     Put_message(buf);
-    sprintf(buf, "Last Modified at %s, by %s with %s",info[C_MODTIME],
-           info[C_MODBY], info[C_MODWITH]);
+    sprintf(buf, MOD_FORMAT, info[C_MODBY], info[C_MODTIME], info[C_MODWITH]);
     Put_message(buf);
     return(info[C_NAME]);
 }
This page took 0.376816 seconds and 4 git commands to generate.