Branch: Tag:

2018-08-05

2018-08-05 10:33:29 by Martin Nilsson <nilsson@fastmail.com>

Simplify error messages and avoid sending function name to get_all_args

188:    int fd;    do_close(p);    -  get_all_args("listen_fd", args, "%d.%*", &fd, &cb); +  get_all_args(NULL, args, "%d.%*", &fd, &cb);       if(fd<0)    {
401: Inside #if defined(HAVE_SYS_UN_H)
      do_close(p);    -  get_all_args("bind_unix", args, "%n.%*", &path, &cb); +  get_all_args(NULL, args, "%n.%*", &path, &cb);       /* NOTE: Some operating systems (eg Linux 2.6) do not support    * paths longer than what fits into a plain struct sockaddr_un.