]> 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 419ea1ed80762201a2c6289b7417e891592269e1..bba985f0ac63baf68658c71cd2bc5ed715d4d33f 100644 (file)
 #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.147523 seconds and 4 git commands to generate.