Commit ecadfaca ecadfaca4f5c2901bfcf7b35d860d759c0b97883 by Sergey Poznyakoff

Minor formatting fix

1 parent 7b78f5c3
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 2003 Free Software Foundation, Inc. 2 Copyright (C) 2003, 2004 Free Software Foundation, Inc.
3 3
4 GNU Mailutils is free software; you can redistribute it and/or modify 4 GNU Mailutils is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as published by 5 it under the terms of the GNU Lesser General Public License as published by
...@@ -67,9 +67,9 @@ spamd_connect_socket (sieve_machine_t mach, stream_t *stream, char *path) ...@@ -67,9 +67,9 @@ spamd_connect_socket (sieve_machine_t mach, stream_t *stream, char *path)
67 return errno; 67 return errno;
68 } 68 }
69 69
70 memset(&addr, 0, sizeof addr); 70 memset (&addr, 0, sizeof addr);
71 addr.sun_family = AF_UNIX; 71 addr.sun_family = AF_UNIX;
72 strncpy(addr.sun_path, path, sizeof addr.sun_path - 1); 72 strncpy (addr.sun_path, path, sizeof addr.sun_path - 1);
73 addr.sun_path[sizeof addr.sun_path - 1] = 0; 73 addr.sun_path[sizeof addr.sun_path - 1] = 0;
74 if (connect (fd, (struct sockaddr *) &addr, sizeof(addr))) 74 if (connect (fd, (struct sockaddr *) &addr, sizeof(addr)))
75 { 75 {
......