X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Ftests%2Fstringbuf_IO_test.c;h=984b5beb4c608537068e60868f25bfcf8e0d16bf;hb=b826c3117bb7ddf1386a4811cb2eb47ea4e1097c;hp=fea682e01910e2a0660b5f6bc79407190c049ea8;hpb=0c28e38d1dd8513427cd5d2490793f0010ab14b7;p=citadel.git diff --git a/libcitadel/tests/stringbuf_IO_test.c b/libcitadel/tests/stringbuf_IO_test.c index fea682e01..984b5beb4 100644 --- a/libcitadel/tests/stringbuf_IO_test.c +++ b/libcitadel/tests/stringbuf_IO_test.c @@ -1,9 +1,8 @@ - /* * CUnit - A Unit testing framework library for C. * Copyright (C) 2001 Anil Kumar * - * This library is free software; you can redistribute it and/or + * This library is open source software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. @@ -12,10 +11,6 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include @@ -142,7 +137,6 @@ static void worker_entry(testfunc F) { int ssock; int i = 0; - int fail_this_transaction = 0; int ret; struct timeval tv; fd_set readset, tempset; @@ -155,7 +149,6 @@ static void worker_entry(testfunc F) do { /* Only one thread can accept at a time */ - fail_this_transaction = 0; ssock = -1; errno = EAGAIN; do { @@ -464,7 +457,6 @@ int main(int argc, char* argv[]) } - StartLibCitadel(8); CU_BOOL Run = CU_FALSE ; CU_set_output_filename("TestAutomated");