libcli_cit/client_api.c, libcli_cit/tcp_trans.c: portability
enhancements, warning fixes
* libcli_cit/tcp_trans.c: implement DNS lookups
+ * gtk/gcit.c: crash fix
free_citadel_list(&list);
reset_parms(&parms);
- if (goto_room(&our_context, our_context.selected_room, NULL, parms, 0)<0)
+ if (*our_context.selected_room &&
+ goto_room(&our_context, our_context.selected_room, NULL, parms, 0)<0)
{
- fprintf(stderr, "Error: Unable to go to room %s.\n", t_list->listitem);
+ fprintf(stderr, "Error: Unable to go to room %s.\n",
+ our_context.selected_room);
return TRUE;
}
free_citadel_parms(&parms);