Skip to content

Commit

Permalink
Fix logger missing arguments. #42
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Jul 2, 2015
1 parent 1c25a2d commit 5aae3bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/start_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

../dnscrypt-wrapper -d -a 0.0.0.0:8854 -r 8.8.8.8:53 \
../dnscrypt-wrapper -a 0.0.0.0:8854 -r 114.114.114.114:53 \
--crypt-secretkey-file=crypt_secret.key \
--crypt-publickey-file=crypt_public.key --provider-cert-file=dnscrypt.cert \
--provider-name=2.dnscrypt-cert.yechengfu.com -VV
2 changes: 1 addition & 1 deletion tcp_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ tcp_listener_bind(struct context *c)
evutil_make_socket_nonblocking(fd);

if (bind(fd, (struct sockaddr *) &c->local_sockaddr, c->local_sockaddr_len) < 0) {
logger(LOG_ERR, "Unable to bind (TCP): %s");
logger(LOG_ERR, "Unable to bind (TCP): %s", c->listen_address);
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
#ifndef VERSION_H
#define VERSION_H

const char *the_version = "0.1.16";
const char *the_version = "0.1.16.1.g1c25a2d";

#endif

0 comments on commit 5aae3bf

Please sign in to comment.