Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_database.c

    r1 r3  
    3838#include "sh_error.h"
    3939#include "sh_utils.h"
     40
     41extern int safe_logger (int signal, int method, pid_t thepid);
    4042
    4143#undef  FIL__
     
    10091011{
    10101012  int               status = 0;
    1011   char            * p;
     1013  const char      * p;
    10121014  static MYSQL    * db_conn = NULL;
    10131015  static SH_TIMEOUT sh_timer = { 0, 3600, S_TRUE };
     
    14471449          retv = S_FALSE;
    14481450        }
     1451      else if (*p == '\"' && escp == 0)
     1452        {
     1453          retv = S_FALSE;
     1454        }
    14491455      else
    14501456        {
     
    14531459      ++p;
    14541460    }
     1461  if (escp == 1)
     1462    retv = S_FALSE;
    14551463  return retv;
    14561464}
     
    15461554
    15471555              if (S_FALSE == is_escaped(&p[j+2])) {
     1556                sh_error_handle((-1), FIL__, __LINE__, 0, MSG_E_SUBGEN,
     1557                                _("Message not properly escaped"),
     1558                                _("sh_database_parse"));
    15481559                SL_RETURN(NULL, _("sh_database_parse"));
    15491560              }
Note: See TracChangeset for help on using the changeset viewer.