Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix typo probably fixing #2133
Gleb Popov committed 2 years ago
commit fbeb91dc55cf18430ba9926e79713729ea918b66
parent e6a9532
1 file changed +3 -1
modified libpkg/pkg.c
@@ -4,6 +4,8 @@
 * Copyright (c) 2012 Bryan Drewery <bryan@shatow.net>
 * Copyright (c) 2013 Matthew Seaman <matthew@FreeBSD.org>
 * Copyright (c) 2017 Vsevolod Stakhov <vsevolod@FreeBSD.org>
+
 * Copyright (c) 2023, Serenity Cyber Security, LLC
+
 *                     Author: Gleb Popov <arrowd@FreeBSD.org>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
@@ -237,7 +239,7 @@ pkg_set_s(struct pkg *pkg, pkg_attr attr, const char *str)
		free(pkg->name);
		pkg->name = xstrdup(str);
		free(pkg->uid);
-
		pkg->name = xstrdup(str);
+
		pkg->uid = xstrdup(str);
		break;
	case PKG_ATTR_ORIGIN:
		free(pkg->origin);