From 2d6b0924c7ec3e78f0276d17d7353e0469962be7 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期一, 03 七月 2017 18:08:22 +0800
Subject: [PATCH] 

---
 FaceServer/proto_hton_ntoh.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/FaceServer/proto_hton_ntoh.cpp b/FaceServer/proto_hton_ntoh.cpp
index 6abf5c2..ccc2da9 100644
--- a/FaceServer/proto_hton_ntoh.cpp
+++ b/FaceServer/proto_hton_ntoh.cpp
@@ -66,10 +66,12 @@
 {
 	db_id = htonl(db_id);
 	st_id = htonl(st_id);
+	confidence = htons(confidence);
 }
 
 void FDP_FaceDetectResult::ntoh()
 {
 	db_id = ntohl(db_id);
 	st_id = ntohl(st_id);
+	confidence = ntohs(confidence);
 }

--
Gitblit v1.8.0