Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use GINT_TO_POINTER.
[doldaconnect.git]
/
clients
/
gtk2
/
main.c
diff --git
a/clients/gtk2/main.c
b/clients/gtk2/main.c
index
ccdd6d4
..
880c641
100644
(file)
--- a/
clients/gtk2/main.c
+++ b/
clients/gtk2/main.c
@@
-1518,6
+1518,11
@@
int pubhubxmlhandler(int op, char *buf, size_t *len)
}
break;
case PHO_EOF:
+ if(ctxt == NULL)
+ {
+ msgbox(GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, _("A hub list could not be read from %s"), pubhubaddr);
+ break;
+ }
xmlParseChunk(ctxt, NULL, 0, 1);
if(!ctxt->wellFormed)
{