lib: remove duplicate check
authorSwen Schillig <swen@linux.ibm.com>
Thu, 11 Apr 2019 07:52:05 +0000 (09:52 +0200)
committerChristof Schmitt <cs@samba.org>
Thu, 11 Apr 2019 23:34:51 +0000 (23:34 +0000)
This check was supposed to be removed by c9f4b92a613.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Apr 11 23:34:51 UTC 2019 on sn-devel-144

source3/lib/messages_dgm.c

index d73a6ad6a7c24c758701fd96eb98def5226a4f8c..5a79a234271346097cf32964eecdc60d84570366 100644 (file)
@@ -1470,10 +1470,6 @@ static int messaging_dgm_read_unique(int fd, uint64_t *punique)
        buf[rw_ret] = '\0';
 
        unique = strtoull_err(buf, &endptr, 10, &error);
-       if ((unique == 0) && (errno == EINVAL)) {
-               return EINVAL;
-       }
-
        if (error != 0) {
                return error;
        }