From 20fd25c231305b0cbc06b5113430aadc003a5c14 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 3 Sep 2014 14:04:43 -0500 Subject: Improve error handling during MTP startup Change-Id: I9395481dd8d9cbd3346fe6682557236b48b4d6cd --- mtp/mtp_MtpServer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mtp/mtp_MtpServer.hpp') diff --git a/mtp/mtp_MtpServer.hpp b/mtp/mtp_MtpServer.hpp index 360d1c376..ce6b13c2d 100755 --- a/mtp/mtp_MtpServer.hpp +++ b/mtp/mtp_MtpServer.hpp @@ -43,7 +43,7 @@ typedef std::vector storages; class twmtp_MtpServer { public: void start(); - void setup(); + int setup(); void run(); void cleanup(); void send_object_added(int handle); -- cgit v1.2.3