mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-proxy/squidclamav: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3516
This commit is contained in:
committed by
David Seifert
parent
154062b3f7
commit
3f20939cd3
@@ -1,19 +0,0 @@
|
||||
Index: squidclamav-6.1/src/squidclamav.c
|
||||
===================================================================
|
||||
--- squidclamav-6.1.orig/src/squidclamav.c
|
||||
+++ squidclamav-6.1/src/squidclamav.c
|
||||
@@ -427,8 +427,12 @@ int squidclamav_check_preview_handler(ch
|
||||
} else {
|
||||
data->user = NULL;
|
||||
}
|
||||
- data->clientip = ci_buffer_alloc(strlen(clientip)+1);
|
||||
- strcpy(data->clientip, clientip);
|
||||
+ if (clientip != NULL) {
|
||||
+ data->clientip = ci_buffer_alloc(strlen(clientip)+1);
|
||||
+ strcpy(data->clientip, clientip);
|
||||
+ } else {
|
||||
+ data->clientip = NULL;
|
||||
+ }
|
||||
|
||||
data->body = ci_simple_file_new(MAX_OBJECT_SIZE);
|
||||
if (SEND_PERCENT_BYTES >= 0 && START_SEND_AFTER == 0) {
|
||||
Reference in New Issue
Block a user