Changes in trunk/src/sh_database.c [3:1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_database.c
r3 r1 38 38 #include "sh_error.h" 39 39 #include "sh_utils.h" 40 41 extern int safe_logger (int signal, int method, pid_t thepid);42 40 43 41 #undef FIL__ … … 1011 1009 { 1012 1010 int status = 0; 1013 c onst char* p;1011 char * p; 1014 1012 static MYSQL * db_conn = NULL; 1015 1013 static SH_TIMEOUT sh_timer = { 0, 3600, S_TRUE }; … … 1449 1447 retv = S_FALSE; 1450 1448 } 1451 else if (*p == '\"' && escp == 0)1452 {1453 retv = S_FALSE;1454 }1455 1449 else 1456 1450 { … … 1459 1453 ++p; 1460 1454 } 1461 if (escp == 1)1462 retv = S_FALSE;1463 1455 return retv; 1464 1456 } … … 1554 1546 1555 1547 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"));1559 1548 SL_RETURN(NULL, _("sh_database_parse")); 1560 1549 }
Note:
See TracChangeset
for help on using the changeset viewer.