Coverity fixes
[jra/samba/.git] / source / utils / rpccheck.c
index 63c2f14601f3f8735e376e49ce7379acb37061d7..87632db16df5400e7f4e4290682aa7750b21b7b1 100644 (file)
@@ -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) {