diff options
author | Cy Schubert <cy@FreeBSD.org> | 2019-05-16 02:41:24 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2019-05-16 02:41:24 +0000 |
commit | dbd6a504d9556360dd6eada478bb88a9a4be4798 (patch) | |
tree | 32f06ca894e597a0746d3df772e4f2f804a19400 | |
parent | 4c5ac0f437d8d9c9a69abf7003c451fde261e238 (diff) | |
download | ports-dbd6a504d9556360dd6eada478bb88a9a4be4798.tar.gz ports-dbd6a504d9556360dd6eada478bb88a9a4be4798.zip |
Notes
-rw-r--r-- | security/wpa_supplicant/files/patch-wpa__supplicant_wpa__priv.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/security/wpa_supplicant/files/patch-wpa__supplicant_wpa__priv.c b/security/wpa_supplicant/files/patch-wpa__supplicant_wpa__priv.c deleted file mode 100644 index 3fb38135c859..000000000000 --- a/security/wpa_supplicant/files/patch-wpa__supplicant_wpa__priv.c +++ /dev/null @@ -1,28 +0,0 @@ ---- wpa_supplicant/wpa_priv.c.orig 2015-03-15 17:30:39 UTC -+++ wpa_supplicant/wpa_priv.c -@@ -952,6 +952,7 @@ static void usage(void) - int main(int argc, char *argv[]) - { - int c, i; -+ int eloop_initialized = 0; - int ret = -1; - char *pid_file = NULL; - int daemonize = 0; -@@ -997,6 +998,7 @@ int main(int argc, char *argv[]) - wpa_printf(MSG_ERROR, "Failed to initialize event loop"); - goto out; - } -+ else eloop_initialized = 1; - - for (i = optind; i < argc; i++) { - wpa_printf(MSG_DEBUG, "Adding driver:interface %s", argv[i]); -@@ -1023,7 +1025,8 @@ out: - wpa_priv_interface_deinit(prev); - } - -- eloop_destroy(); -+ if (eloop_initialized) -+ eloop_destroy(); - - os_daemonize_terminate(pid_file); - os_free(pid_file); |