X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Furi.c;h=a27f873bf3fed140034fbbb8b13c47004f03da1e;hb=96639848280e5dae29b0b03e895b0f9868a4ef50;hp=c735e856f3b12787106b86b0c4b184c5f075057c;hpb=e6f771201880c4a4dc93d03f7e4c60105d12f9dc;p=lttng-tools.git diff --git a/src/common/uri.c b/src/common/uri.c index c735e856f..a27f873bf 100644 --- a/src/common/uri.c +++ b/src/common/uri.c @@ -1,18 +1,8 @@ /* - * Copyright (C) 2012 - David Goulet + * Copyright (C) 2012 David Goulet * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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 General Public License for - * more details. - * - * 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., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _LGPL_SOURCE @@ -136,7 +126,7 @@ static int set_ip_address(const char *addr, int af, char *dst, size_t size) * We choose to use the system name resolution API first * to honor its network configuration. If this fails, we * resolve to the appropriate loopback address. This is - * done to accomodate systems which may want to start + * done to accommodates systems which may want to start * tracing before their network configured. */ const char *loopback_addr = af == AF_INET ?