summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorSwen Schillig <swen@linux.ibm.com>2019-04-11 09:52:05 +0200
committerChristof Schmitt <cs@samba.org>2019-04-11 23:34:51 +0000
commit2029fe72b23c1b62282c31c4cd29d47c686eef49 (patch)
treeac8af85854ffc4b5b3df8046f992167b501288ca /source3/lib
parent5ff48f64cd541ba021a116f50944341befd97e22 (diff)
downloadsamba-2029fe72b23c1b62282c31c4cd29d47c686eef49.tar.gz
lib: remove duplicate check
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
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages_dgm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c
index d73a6ad6a7c..5a79a234271 100644
--- a/source3/lib/messages_dgm.c
+++ b/source3/lib/messages_dgm.c
@@ -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;
}