better log msg

pull/14/head
Tom Early 7 years ago
parent f69ac40eb1
commit 992112710a

@ -370,7 +370,7 @@ int CQnetGateway::open_port(const SPORTIP *pip, int family)
}
/* receive data from the irc server and save it */
void CQnetGateway::GetIRCDataThread(int i)
void CQnetGateway::GetIRCDataThread(const int i)
{
std::string user, rptr, gateway, ipaddr;
DSTAR_PROTOCOL proto;
@ -565,7 +565,7 @@ int CQnetGateway::get_yrcall_rptr_from_cache(const int i, const std::string &cal
arearp_cs = user_pos->second.substr(0, 7);
*mod = user_pos->second.at(7);
} else {
printf("could not find a repeater for user %s\n", call.c_str());
printf("could not find a repeater for user %s from server %s\n", call.c_str(), ircddb[i].ip.c_str());
return 1;
}
} else if (RoU == 'R') {

@ -162,7 +162,7 @@ private:
void AddFDSet(int &max, int newfd, fd_set *set);
int open_port(const SPORTIP *pip, int family);
void calcPFCS(unsigned char *packet, int len);
void GetIRCDataThread(int i);
void GetIRCDataThread(const int i);
int get_yrcall_rptr_from_cache(const int i, const std::string &call, std::string &arearp_cs, std::string &zonerp_cs, char *mod, std::string &ip, char RoU);
int get_yrcall_rptr(const std::string &call, std::string &arearp_cs, std::string &zonerp_cs, char *mod, std::string &ip, char RoU);
void PlayFileThread(SECHO &edata);

Loading…
Cancel
Save

Powered by TurnKey Linux.