]> andersk Git - moira.git/commitdiff
added debugging print messages
authormar <mar>
Thu, 11 Aug 1988 13:59:11 +0000 (13:59 +0000)
committermar <mar>
Thu, 11 Aug 1988 13:59:11 +0000 (13:59 +0000)
update/client.c

index e67cc4d09df98f4dbb25fe96326d767a72be67a2..d7960cddbaf7c9d15e4da8e1e4c27bfa6731158b 100644 (file)
@@ -34,7 +34,7 @@ static char *rcsid_client2_c = "$Header$";
 #include <krb.h>
 
 extern char *malloc();
-extern int errno;
+extern int errno, dbg;
 
 static char buf[BUFSIZ];
 static int code;
@@ -245,6 +245,9 @@ execute(path)
     code = receive_object(conn, (char *)&response, INTEGER_T);
     if (code)
        return(connection_errno(conn));
+    if (dbg & DBG_TRACE)
+      com_err(whoami, 0, "execute returned %x (%d)",
+             response, response.w_retcode);
     if (response.w_retcode) {
 /****************************************************************
  * The following line is there because the current update servers
This page took 0.058022 seconds and 5 git commands to generate.