src/lib/lex.c
static void add_str(LEX *lf, int ch)
{
   if (lf->str_len >= sizeof_pool_memory(lf->str)) {
      Emsg3(M_ERROR_TERM, 0, _(
           _("Config token too long, file: %s, line %d, begins at line %d\n")),
             lf->fname, lf->line_no, lf->begin_line_no);
   }
   lf->str[lf->str_len++] = ch;
   lf->str[lf->str_len] = 0;
}
/*
 * Add a character to the current string
 */
Add a character to the current string
Add a character to the current string
static void add_str(LEX *lf, int ch)
{
   if (lf->str_len >= sizeof_pool_memory(lf->str)) {
      Emsg3(M_ERROR_TERM, 0, _(
           _("Config token too long, file: %s, line %d, begins at line %d\n")),
             lf->fname, lf->line_no, lf->begin_line_no);
   }
   lf->str[lf->str_len++] = ch;
   lf->str[lf->str_len] = 0;
}
static void add_str ( LEX * lf , int ch ) { if ( lf -> str_len >= sizeof_pool_memory ( lf -> str ) ) { Emsg3 ( M_ERROR_TERM , 0 , _ ( _ ( " \n " ) ) , lf -> fname , lf -> line_no , lf -> begin_line_no ) ; } lf -> str [ lf -> str_len ++ ] = ch ; lf -> str [ lf -> str_len ] = 0 ; }
Add a character to the current string
Add a character to the current string