From ea99be2f11c7631c6ae27df89bc3c80dc835f799 Mon Sep 17 00:00:00 2001 From: Elliu <goyard.louis@gmail.com> Date: Mon, 13 Jul 2020 19:32:41 +0200 Subject: [PATCH] And another one (for lkt add id) --- PKGBUILD | 2 +- src/main/lkt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 6457422e..0a4537fb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Maël 'Kubat' MARTIN <mael.martin31@gmail.com> pkgname=lektor -pkgver=mk7.1026.b7d5c5e +pkgver=mk7.1036.462cf03 pkgrel=1 pkgdesc="The lektor kara player, from the Bakaclub" arch=(x86_64 i686) diff --git a/src/main/lkt.c b/src/main/lkt.c index 44a44411..5a22e47d 100644 --- a/src/main/lkt.c +++ b/src/main/lkt.c @@ -93,7 +93,7 @@ create_socket(const char *host, const char *port) hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; - assert(! getaddrinfo(host, port, &hints, &found)); + getaddrinfo(host, port, &hints, &found); // <---- Another assert yeeted because it makes php panic sock = *found->ai_addr; sock_len = found->ai_addrlen; -- GitLab