Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
clamav.940
clamav-sles9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clamav-sles9.patch of Package clamav.940
Index: clamav-milter/clamfi.c =================================================================== --- clamav-milter/clamfi.c.orig +++ clamav-milter/clamfi.c @@ -90,16 +90,11 @@ static void add_x_header(SMFICTX *ctx, c while(status) if(smfi_chgheader(ctx, (char *)"X-Virus-Status", status--, NULL) != MI_SUCCESS) logg("^Failed to remove existing X-Virus-Status header\n"); + } if(smfi_addheader(ctx, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS) logg("^Failed to add X-Virus-Scanned header\n"); if(smfi_addheader(ctx, (char *)"X-Virus-Status", st) != MI_SUCCESS) logg("^Failed to add X-Virus-Status header\n"); - } else { /* Add */ - if(smfi_insheader(ctx, 1, (char *)"X-Virus-Scanned", xvirushdr) != MI_SUCCESS) - logg("^Failed to insert X-Virus-Scanned header\n"); - if(smfi_insheader(ctx, 1, (char *)"X-Virus-Status", st) != MI_SUCCESS) - logg("^Failed to insert X-Virus-Status header\n"); - } } enum CFWHAT { --- clamav-milter/clamav-milter.c +++ clamav-milter/clamav-milter.c @@ -282,7 +282,7 @@ } opt = optget(opts, "FixStaleSocket"); umsk = umask(0777); /* socket is created with 000 to avoid races */ - if(smfi_opensocket(opt->enabled) == MI_FAILURE) { + if(smfi_opensocket() == MI_FAILURE) { logg("!Failed to create socket %s\n", my_socket); localnets_free(); whitelist_free();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor