John E. Malmberg convinced me to standardize on #ifs for defined
[rsync/rsync.git] / main.c
diff --git a/main.c b/main.c
index fc48c01..65c0ec5 100644 (file)
--- a/main.c
+++ b/main.c
@@ -222,7 +222,7 @@ static void report(int f)
  **/
 static void show_malloc_stats(void)
 {
  **/
 static void show_malloc_stats(void)
 {
-#if HAVE_MALLINFO
+#ifdef HAVE_MALLINFO
        struct mallinfo mi;
 
        mi = mallinfo();
        struct mallinfo mi;
 
        mi = mallinfo();
@@ -292,7 +292,7 @@ static pid_t do_cmd(char *cmd, char *machine, char *user, char *path,
                                dash_l_set = 1;
                }
 
                                dash_l_set = 1;
                }
 
-#if HAVE_REMSH
+#ifdef HAVE_REMSH
                /* remsh (on HPUX) takes the arguments the other way around */
                args[argc++] = machine;
                if (user && !(daemon_over_rsh && dash_l_set)) {
                /* remsh (on HPUX) takes the arguments the other way around */
                args[argc++] = machine;
                if (user && !(daemon_over_rsh && dash_l_set)) {