X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2Famglue%2Fsource.c;h=612dcac610bbbe550912de681cc249bf6b8c0283;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=d7b259a627c0fd517b9d8f22613b66891bf31d64;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/perl/amglue/source.c b/perl/amglue/source.c index d7b259a..612dcac 100644 --- a/perl/amglue/source.c +++ b/perl/amglue/source.c @@ -1,21 +1,21 @@ /* - * Copyright (c) 2005 Zmanda, Inc. All Rights Reserved. + * Copyright (c) 2008,2009 Zmanda, Inc. All Rights Reserved. * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License version 2.1 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 version 2 as published + * by the Free Software Foundation. * - * This library is distributed in the hope that it will be useful, but + * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - * License for more details. + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300 - * Sunnyvale, CA 94086, USA, or: http://www.zmanda.com + * Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300 + * Sunnyvale, CA 94085, USA, or: http://www.zmanda.com */ #include "amglue.h" @@ -128,6 +128,7 @@ amglue_source_new( GSourceFunc callback) { amglue_Source *src = g_new0(amglue_Source, 1); + g_source_ref(gsrc); src->src = gsrc; src->callback = callback; src->state = AMGLUE_SOURCE_NEW;