blob: 891431074002e0fc9c2cabbd9b222ea2f5de1d56 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "stdafx.h"
#include "protocol.h"
#include "utils.h"
ext::string Protocol::getDisplayName(const ext::a::string& protocol)
{
PROTOACCOUNT *pa = ProtoGetAccount(protocol.c_str());
return (pa == NULL) ? utils::fromA(protocol) : pa->tszAccountName;
}
|