diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 5d47e2a..2ab3c08 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -574,7 +574,7 @@ int CQnetGateway::get_yrcall_rptr(const std::string &call, std::string &rptr, st } } } - return 0; + return i + 1; } bool CQnetGateway::Flag_is_ok(unsigned char flag)