Commit 1a638f64 authored by Bob Halley's avatar Bob Halley
Browse files

fix more buglets

parent 27a5e02b
......@@ -66,12 +66,6 @@ check_result(isc_result_t result, char *msg) {
fatal("%s: %s", msg, isc_result_totext(result));
}
static void
panic(char *where) {
perror(where);
exit(1);
}
static void
usage() {
fprintf(stderr,
......@@ -137,7 +131,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
result = printmessage(message);
check_result(result, "printmessage()");
} else if (sevent->result != ISC_R_CANCELED)
fatal("recv_done(): %s", isc_result_totext(result));
fatal("recv_done(): %s", isc_result_totext(sevent->result));
isc_event_free(&event);
isc_app_shutdown();
......@@ -151,7 +145,6 @@ send_done(isc_task_t *task, isc_event_t *event) {
int
main(int argc, char *argv[]) {
struct sockaddr_in sin;
char *server;
unsigned int port;
isc_boolean_t vc, have_name, have_type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment