1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 14:56:46 +02:00

add HTTP proxy support

This commit is contained in:
Jfreegman
2014-12-27 13:12:16 -05:00
parent 9240f62829
commit e55e5f3f7e
4 changed files with 32 additions and 16 deletions

View File

@ -202,7 +202,7 @@ static void handle_xdnd_selection(XSelectionEvent* e)
if (Xtra.on_drop && p.read_num)
{
char *sptr;
char *str = strtok_r((char*)p.data, "\n\r", &sptr);
char *str = strtok_r((char *) p.data, "\n\r", &sptr);
if (str) Xtra.on_drop(str, dt);
while ((str = strtok_r(NULL, "\n\r", &sptr)))