On Feb 2, 2011, at 16:42, Pawel Jakub Dawidek wrote: > Author: pjd > Date: Wed Feb 2 15:42:00 2011 > New Revision: 218192 > URL: http://svn.freebsd.org/changeset/base/218192 > > Log: > Allow to specify connection timeout by the caller. > > MFC after: 1 week > > Modified: > head/sbin/hastd/primary.c > head/sbin/hastd/proto.c > head/sbin/hastd/proto.h > head/sbin/hastd/proto_impl.h > head/sbin/hastd/proto_tcp4.c > head/sbin/hastd/proto_uds.c > ... > int > -proto_connect(struct proto_conn *conn) > +proto_connect(struct proto_conn *conn, int timeout) > {
Hi Pawel, I think you missed to updated a call. /data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/Release+Asserts/bin/clang -isysroot /data/buildslave/freebsd-clang-amd64/obj/obj-freebsd/data/buildslave/freebsd-clang-amd64/src-freebsd/tmp -B/data/buildslave/freebsd-clang-amd64/obj/obj-freebsd/data/buildslave/freebsd-clang-amd64/src-freebsd/tmp/usr/lib/ -L/data/buildslave/freebsd-clang-amd64/obj/obj-freebsd/data/buildslave/freebsd-clang-amd64/src-freebsd/tmp/usr/lib/ -O2 -pipe -I/data/buildslave/freebsd-clang-amd64/src-freebsd/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Qunused-arguments -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /data/buildslave/freebsd-clang-amd64/src-freebsd/sbin/hastctl/hastctl.c /data/buildslave/freebsd-clang-amd64/src-freebsd/sbin/hastctl/hastctl.c:490:31: error: too few arguments to function call, expected 2, have 1 if (proto_connect(controlconn) < 0) { ~~~~~~~~~~~~~ ^ 1 error generated. Regards -- Pawel _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"