Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cdc758
)
Fix segv bug in hublist.c.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Jul 2007 04:43:43 +0000
(06:43 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Jul 2007 04:43:43 +0000
(06:43 +0200)
clients/gtk2/hublist.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/gtk2/hublist.c
b/clients/gtk2/hublist.c
index
ec4bcc0
..
849f4ea
100644
(file)
--- a/
clients/gtk2/hublist.c
+++ b/
clients/gtk2/hublist.c
@@
-196,6
+196,10
@@
void fetchhublist(char *url, regex_t *flt)
u = parseurl(url);
hc = htconnect(u);
freeurl(u);
+ if(hc == NULL) {
+ msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _("Could not read hublist from server: %s"), strerror(errno));
+ return;
+ }
state = 0;
settags();
gtk_widget_show(main_pubhubbarbox);