RtspFace/demo/src/DBuntil.cpp
@@ -35,12 +35,12 @@ mysql_close(&myCont); } person DBuntil::db_rearch(int f_id) *person DBuntil::db_rearch(int f_id) { person p= {0,""}; db_select(f_id,&p); //对结构体赋值 return p; return &p; } bool DBuntil::db_select(int f_id,person* per)