Browse Source

fix style

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
583c07bf8b
  1. 2
      configure.ac
  2. 3
      lib/securepair.js

2
configure.ac

@ -53,8 +53,6 @@ AC_SUBST([HAVE_OPENSSL],[1])
m4_include([deps/libev/libev.m4]) m4_include([deps/libev/libev.m4])
m4_include([deps/libeio/libeio.m4]) m4_include([deps/libeio/libeio.m4])
mkdir -p build/deps/libev/
mkdir -p build/deps/libeio/
AC_CONFIG_HEADERS([build/deps/libev/config.h:deps/libev/config.h.in]) AC_CONFIG_HEADERS([build/deps/libev/config.h:deps/libev/config.h.in])
AC_CONFIG_HEADERS([build/deps/libeio/config.h:deps/libeio/config.h.in]) AC_CONFIG_HEADERS([build/deps/libeio/config.h:deps/libeio/config.h.in])

3
lib/securepair.js

@ -45,8 +45,7 @@ function SecurePair(credentials, is_server)
if (!credentials) { if (!credentials) {
this.credentials = crypto.createCredentials(); this.credentials = crypto.createCredentials();
} } else {
else {
this.credentials = credentials; this.credentials = credentials;
} }

Loading…
Cancel
Save