Fix subtle but important bug in ip_connect(); it shouldn't close the
[exim.git] / src / exim_monitor / em_queue.c
index a6bdc5bb3f724925bb921546aa6fcc8509881cc9..ec54116a0e37b71b7697179d2bf4dc7cf5873ef9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/exim_monitor/em_queue.c,v 1.3 2006/02/07 11:18:59 ph10 Exp $ */
+/* $Cambridge: exim/src/exim_monitor/em_queue.c,v 1.4 2006/02/14 14:26:15 ph10 Exp $ */
 
 /*************************************************
 *                 Exim Monitor                   *
@@ -497,7 +497,7 @@ for (i = 0; i < subdir_max; i++)
         name[SPOOL_NAME_LENGTH - 2] == '-' &&
         name[SPOOL_NAME_LENGTH - 1] == 'H')
       {
-      uschar basename[SPOOL_NAME_LENGTH];
+      uschar basename[SPOOL_NAME_LENGTH + 1];
       stripchart_total[0]++;
       if (!eximon_initialized) { printf("."); fflush(stdout); }
       Ustrcpy(basename, name);