r25026: Move param/param.h out of includes.h
[kai/samba-autobuild/.git] / source4 / librpc / rpc / dcerpc_util.c
index 11f5451891ec161b3cfbae204f21bdde6d7a6a69..e82302585c66afcd60451baeca7a3a04d389ba7d 100644 (file)
@@ -29,6 +29,7 @@
 #include "librpc/gen_ndr/ndr_dcerpc.h"
 #include "librpc/gen_ndr/ndr_misc.h"
 #include "auth/credentials/credentials.h"
+#include "param/param.h"
 
 /*
   find a dcerpc call on an interface by name
@@ -255,10 +256,9 @@ char *dcerpc_binding_string(TALLOC_CTX *mem_ctx, const struct dcerpc_binding *b)
 
        if (t_name != NULL) {
                s = talloc_asprintf_append(s, "%s:", t_name);
-               if (s == NULL) 
+               if (s == NULL) {
                        return NULL;
-       } else {
-               s = NULL;
+               }
        }
 
        if (b->host) {