Rob Mangiafico wrote:

+    peer_size = sizeof(peer);
+    if(getpeername(sockd, (struct sockaddr *) &peer, &peer_size) < 0) {
+       perror("getpeername()");
+       mprintf("@Can't get socket peer name.\n");
+       return -1;
+    }
+
+    server.sin_addr.s_addr = peer.sin_addr.s_addr;
+

Commenting out the new code (with + in front) seems to at least get things working on my system.


Anyone else see any drawbacks to commenting this out in 0.75 to get things working with Unix Sockets support for the time being? Want to upgrade to 0.75 for the increased virus catching of certain viruses.

Rob M.

That's what I did, and it works fine. (Actually commenting out the last line is enough.)


-- Paul Bijnens, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to