Changeset 3 for trunk/src/sh_database.c
- Timestamp:
- Dec 21, 2005, 10:07:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_database.c
r1 r3 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); 40 42 41 43 #undef FIL__ … … 1009 1011 { 1010 1012 int status = 0; 1011 c har* p;1013 const char * p; 1012 1014 static MYSQL * db_conn = NULL; 1013 1015 static SH_TIMEOUT sh_timer = { 0, 3600, S_TRUE }; … … 1447 1449 retv = S_FALSE; 1448 1450 } 1451 else if (*p == '\"' && escp == 0) 1452 { 1453 retv = S_FALSE; 1454 } 1449 1455 else 1450 1456 { … … 1453 1459 ++p; 1454 1460 } 1461 if (escp == 1) 1462 retv = S_FALSE; 1455 1463 return retv; 1456 1464 } … … 1546 1554 1547 1555 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")); 1548 1559 SL_RETURN(NULL, _("sh_database_parse")); 1549 1560 }
Note:
See TracChangeset
for help on using the changeset viewer.