diff options
author | Marc VanHeyningen <marc.vanheyningen@isilon.com> | 2008-03-14 14:26:28 -0800 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-17 20:52:25 +0100 |
commit | e06aa46b9fab1e107fea8f6453fb13deffa91e96 (patch) | |
tree | db972999f1b17db3e6b100fec70b5f4643632172 /source3/utils/rpccheck.c | |
parent | 6274929b1e1ddf89f4c5e93414121eaf06b6ab14 (diff) | |
download | samba-e06aa46b9fab1e107fea8f6453fb13deffa91e96.tar.gz samba-e06aa46b9fab1e107fea8f6453fb13deffa91e96.tar.xz samba-e06aa46b9fab1e107fea8f6453fb13deffa91e96.zip |
Coverity fixes
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
Diffstat (limited to 'source3/utils/rpccheck.c')
-rw-r--r-- | source3/utils/rpccheck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/rpccheck.c b/source3/utils/rpccheck.c index 63c2f14601f..87632db16df 100644 --- a/source3/utils/rpccheck.c +++ b/source3/utils/rpccheck.c @@ -40,7 +40,8 @@ main() ctx=talloc_init("main"); if (!ctx) exit(1); - prs_init(&ps, 1600, 4, ctx, MARSHALL); + if (!prs_init(&ps, 1600, 4, ctx, MARSHALL)) + exit(1); while (scanf("%s", s)!=-1) { if (strlen(s)==2 && strchr_m(filter, *s)!=NULL && strchr_m(filter, *(s+1))!=NULL) { |