mirror of
https://github.com/transmission/transmission
synced 2025-03-16 00:39:34 +00:00
Cleanup duplicates in clients.c (#991)
This commit is contained in:
parent
5a5fe7d7fe
commit
2ef07517b6
1 changed files with 0 additions and 16 deletions
|
@ -279,10 +279,6 @@ char* tr_clientForId(char* buf, size_t buflen, void const* id_in)
|
|||
{
|
||||
four_digits(buf, buflen, "Avicora", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "BB", 2) == 0)
|
||||
{
|
||||
four_digits(buf, buflen, "BitBuddy", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "BE", 2) == 0)
|
||||
{
|
||||
four_digits(buf, buflen, "BitTorrent SDK", id + 3);
|
||||
|
@ -319,10 +315,6 @@ char* tr_clientForId(char* buf, size_t buflen, void const* id_in)
|
|||
{
|
||||
four_digits(buf, buflen, "BitWombat", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "BX", 2) == 0)
|
||||
{
|
||||
four_digits(buf, buflen, "BittorrentX", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "EB", 2) == 0)
|
||||
{
|
||||
four_digits(buf, buflen, "EBit", id + 3);
|
||||
|
@ -500,10 +492,6 @@ char* tr_clientForId(char* buf, size_t buflen, void const* id_in)
|
|||
four_digits(buf, buflen, "Zona", id + 3);
|
||||
}
|
||||
/* */
|
||||
else if (strncmp(chid + 1, "AG", 2) == 0)
|
||||
{
|
||||
three_digits(buf, buflen, "Ares", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "A~", 2) == 0)
|
||||
{
|
||||
three_digits(buf, buflen, "Ares", id + 3);
|
||||
|
@ -532,10 +520,6 @@ char* tr_clientForId(char* buf, size_t buflen, void const* id_in)
|
|||
{
|
||||
three_digits(buf, buflen, "pbTorrent", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "TT", 2) == 0)
|
||||
{
|
||||
three_digits(buf, buflen, "TuoTu", id + 3);
|
||||
}
|
||||
else if (strncmp(chid + 1, "qB", 2) == 0)
|
||||
{
|
||||
three_digits(buf, buflen, "qBittorrent", id + 3);
|
||||
|
|
Loading…
Add table
Reference in a new issue