Skip to content
Snippets Groups Projects
Commit da8674fb authored by rishwanth1995's avatar rishwanth1995
Browse files

changed mdb_name from tsk_Char to char

parent 98d3986c
Branches
Tags
No related merge requests found
......@@ -24,11 +24,11 @@ using std::stringstream;
using std::sort;
using std::for_each;
TskDbPostgreSQL::TskDbPostgreSQL(const char * a_dbFilePath, bool a_blkMapFlag)
TskDbPostgreSQL::TskDbPostgreSQL(const TSK_TCHAR * a_dbFilePath, bool a_blkMapFlag)
: TskDb(a_dbFilePath, a_blkMapFlag)
{
conn = NULL;
strncpy(m_dBName, a_dbFilePath, MAX_CONN_INFO_FIELD_LENGTH - 1);
snprintf(m_dBName, MAX_CONN_INFO_FIELD_LENGTH - 1, "%" PRIttocTSK "", a_dbFilePath);
m_blkMapFlag = a_blkMapFlag;
strcpy(userName, "");
......
......@@ -40,7 +40,7 @@ using std::map;
*/
class TskDbPostgreSQL : public TskDb {
public:
TskDbPostgreSQL(const char * a_dbFilePath, bool a_blkMapFlag);
TskDbPostgreSQL(const TSK_TCHAR * a_dbFilePath, bool a_blkMapFlag);
~TskDbPostgreSQL();
int open(bool);
int close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment