[PATCH] Unix datagram socket messaging
Stefan (metze) Metzmacher
metze at samba.org
Tue Apr 22 12:30:28 MDT 2014
Am 22.04.2014 19:44, schrieb Jeremy Allison:
> +
> + if (path != NULL) {
> + pathlen = strlen(path)+1;
> + if (pathlen > sizeof(addr.sun_path)) {
> + return ENAMETOOLONG;
> + }
> + } else {
> + pathlen = 1;
> + }
> +
> + pathlen = strlen(path)+1;
> + if (pathlen > sizeof(addr.sun_path)) {
> + return ENAMETOOLONG;
> + }
The above 4 lines need to went away...
metze
More information about the samba-technical
mailing list