]> diplodocus.org Git - nmh/blobdiff - sbr/ext_hook.c
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / sbr / ext_hook.c
index 106114f829b02ada5e341fb5a13aee91d2ea2a4b..cbd0f1af74010bdb970776e07081c501024e4947 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "ext_hook.h"
 #include "context_find.h"
 #include "pidstatus.h"
 #include "arglist.h"
 #include "context_find.h"
 #include "pidstatus.h"
 #include "arglist.h"
@@ -20,7 +21,7 @@ ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2)
     int                status;                 /* exit or other child process status */
     char       **vec;                  /* argument vector for child process */
     int                vecp;                   /* Vector index */
     int                status;                 /* exit or other child process status */
     char       **vec;                  /* argument vector for child process */
     int                vecp;                   /* Vector index */
-    char       *program;               /* Name of program to execute */
+    char       *program;               /* Name of program to execute */
 
     static bool        did_message;            /* set if we've already output a message */
 
 
     static bool        did_message;            /* set if we've already output a message */