X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=xfer-src%2Fsource-fd.c;h=0f8bf69832b58b98dbeaa77ee1c77a3aab39bf07;hb=d28952249e392eb31bc8eecc53f6c477f30c617b;hp=09b82ccc32009c0f3359fa16c72d47a22b3db3ae;hpb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;p=debian%2Famanda diff --git a/xfer-src/source-fd.c b/xfer-src/source-fd.c index 09b82cc..0f8bf69 100644 --- a/xfer-src/source-fd.c +++ b/xfer-src/source-fd.c @@ -1,10 +1,11 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver - * Copyright (c) 2008, 2009, 2010 Zmanda, Inc. All Rights Reserved. + * Copyright (c) 2008-2012 Zmanda, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -65,8 +66,8 @@ class_init( { XferElementClass *klass = XFER_ELEMENT_CLASS(selfc); static xfer_element_mech_pair_t mech_pairs[] = { - { XFER_MECH_NONE, XFER_MECH_READFD, 0, 0}, - { XFER_MECH_NONE, XFER_MECH_NONE, 0, 0}, + { XFER_MECH_NONE, XFER_MECH_READFD, XFER_NROPS(0), XFER_NTHREADS(0) }, + { XFER_MECH_NONE, XFER_MECH_NONE, XFER_NROPS(0), XFER_NTHREADS(0) }, }; klass->perl_class = "Amanda::Xfer::Source::Fd";