pans
2017-01-04 0bad0e6b94c566f63bb97661850899f679fd1d12
RtspFace/demo/src/db/DBuntil.cpp
@@ -71,7 +71,7 @@
   return true;
}
int DBuntil::db_add(int f_id,person *per)
bool DBuntil::db_add(int f_id,person *per)
{
   //
   sprintf( sql, "INSERT INTO user_info(NAME, img) VALUES('%s', NULL)" , per->name );
@@ -88,7 +88,7 @@
   return false;
}
int DBuntil::db_register(int f_id,person *per)
bool DBuntil::db_register(int f_id,person *per)
{
   if(db_add(f_id,per)){
      return true;