]> andersk Git - moira.git/blobdiff - clients/moira/misc.c
Need to fill in the "user" variable with mrcl_krb_user().
[moira.git] / clients / moira / misc.c
index bf3693dde642f7805d3f60f2fcbf86f4bd06c5c8..bba985f0ac63baf68658c71cd2bc5ed715d4d33f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id $
+/* $Id$
  *
  *     This is the file misc.c for the Moira Client, which allows a naieve
  *      to quickly and easily maintain most parts of the Moira database.
 #include "globals.h"
 
 #include <sys/types.h>
+#ifndef _WIN32
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#endif /* _WIN32 */
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -49,10 +51,10 @@ void PrintStats(char **info)
 {
   char buf[BUFSIZ];
 
-  sprintf(buf, "Table: %-30s Modified: %s", info[0], info[5]);
+  sprintf(buf, "Table: %-30s Modified: %s", info[0], info[4]);
   Put_message(buf);
   sprintf(buf, "    %s appends, %s updates, %s deletes",
-         info[2], info[3], info[4]);
+         info[1], info[2], info[3]);
   Put_message(buf);
 }
 
This page took 0.031628 seconds and 4 git commands to generate.