LINE_MAX renamed to STR_LINE_MAX.
[egate.git] / kernel / urp.c
index 8ab8af8..313d7e6 100644 (file)
  * Europagate, 1995
  *
  * $Log: urp.c,v $
- * Revision 1.42  1995/07/03 12:59:29  adam
+ * Revision 1.43  1995/07/11 11:49:13  adam
+ * LINE_MAX renamed to STR_LINE_MAX.
+ *
+ * Revision 1.42  1995/07/03  12:59:29  adam
  * New option for eti: -c dir to chdir before start.
  * Setting change: gw.max.show defaults to 100.
  *
 static void present (const char *set, int offset, int number,
                      struct ccl_token *format_token);
 
-static char line_buf[LINE_MAX+1];
+static char line_buf[STR_LINE_MAX+1];
 
 static void put_esc_str (const char *s)
 {
@@ -343,7 +346,7 @@ static int email_header (struct str_queue *sq,
 {
     *from_str = '\0';
     *subject_str = '\0';    
-    while (str_queue_deq (sq, line_buf, LINE_MAX))
+    while (str_queue_deq (sq, line_buf, STR_LINE_MAX))
     {
         if (line_buf[0] == '\n')
             return 0;
@@ -1097,7 +1100,7 @@ int urp_command (struct str_queue *queue)
     char *cp;
     int stop_flag;
 
-    while (str_queue_deq (queue, line_buf, LINE_MAX))
+    while (str_queue_deq (queue, line_buf, STR_LINE_MAX))
     {
         if (line_buf[0] == '\n')
             if (info.command_no)
@@ -1117,7 +1120,7 @@ int urp_command (struct str_queue *queue)
            if (stop_flag)
            {
                info.command_no++;     /* prevent help! */
-                while (str_queue_deq (queue, line_buf, LINE_MAX))
+                while (str_queue_deq (queue, line_buf, STR_LINE_MAX))
                     ;
                return stop_flag;
             }