Module Name: src Committed By: joerg Date: Sat Jan 4 02:56:31 UTC 2014
Modified Files: src/external/bsd/libevent/dist/test: regress_buffer.c Log Message: Fix memcmp use. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libevent/dist/test/regress_buffer.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/libevent/dist/test/regress_buffer.c diff -u src/external/bsd/libevent/dist/test/regress_buffer.c:1.2 src/external/bsd/libevent/dist/test/regress_buffer.c:1.3 --- src/external/bsd/libevent/dist/test/regress_buffer.c:1.2 Thu Apr 11 16:56:42 2013 +++ src/external/bsd/libevent/dist/test/regress_buffer.c Sat Jan 4 02:56:31 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: regress_buffer.c,v 1.2 2013/04/11 16:56:42 christos Exp $ */ +/* $NetBSD: regress_buffer.c,v 1.3 2014/01/04 02:56:31 joerg Exp $ */ /* * Copyright (c) 2003-2007 Niels Provos <pro...@citi.umich.edu> * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson @@ -33,7 +33,7 @@ #include "event2/event-config.h" #include <sys/cdefs.h> -__RCSID("$NetBSD: regress_buffer.c,v 1.2 2013/04/11 16:56:42 christos Exp $"); +__RCSID("$NetBSD: regress_buffer.c,v 1.3 2014/01/04 02:56:31 joerg Exp $"); #include <sys/types.h> #include <sys/stat.h> @@ -247,7 +247,7 @@ test_evbuffer(void *ptr) if (memcmp(evbuffer_pullup( evb, -1), buffer, sizeof(buffer) / 2) != 0 || memcmp(evbuffer_pullup( - evb_two, -1), buffer, sizeof(buffer) != 0)) + evb_two, -1), buffer, sizeof(buffer)) != 0) tt_abort_msg("Pullup did not preserve content"); evbuffer_validate(evb);