Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in request logger.
[doldaconnect.git]
/
clients
/
gtk2
/
hublist.c
diff --git
a/clients/gtk2/hublist.c
b/clients/gtk2/hublist.c
index
ec4bcc0
..
7342945
100644
(file)
--- a/
clients/gtk2/hublist.c
+++ b/
clients/gtk2/hublist.c
@@
-1,6
+1,6
@@
/*
* Dolda Connect - Modular multiuser Direct Connect-style client
/*
* Dolda Connect - Modular multiuser Direct Connect-style client
- * Copyright (C) 2007 Fredrik Tolf
(fredrik@dolda2000.com)
+ * Copyright (C) 2007 Fredrik Tolf
<fredrik@dolda2000.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-196,6
+196,10
@@
void fetchhublist(char *url, regex_t *flt)
u = parseurl(url);
hc = htconnect(u);
freeurl(u);
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);
state = 0;
settags();
gtk_widget_show(main_pubhubbarbox);