diff options
Diffstat (limited to 'network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch')
-rw-r--r-- | network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch new file mode 100644 index 0000000000..8e1f3a4a06 --- /dev/null +++ b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch @@ -0,0 +1,12 @@ +diff -Naur GTorrentViewer-0.2b/src/mainwindow.c GTorrentViewer-0.2b.patched/src/mainwindow.c +--- GTorrentViewer-0.2b/src/mainwindow.c 2023-11-07 21:01:19.243506719 -0500 ++++ GTorrentViewer-0.2b.patched/src/mainwindow.c 2023-11-07 21:02:04.947502418 -0500 +@@ -423,7 +423,7 @@ + + node = benc_node_find_key(torrent, "announce"); + gtk_list_store_append(liststore, &iter); +- gtk_list_store_set(liststore, &iter, 0, benc_node_data(node), -1); ++ gtk_list_store_set(liststore, &iter, 0, node!=NULL?benc_node_data(node):"", -1); + + node = benc_node_find_key(torrent, "announce-list"); + if(node != NULL) /* multi-tracker support */ |