summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index bc031e8d87c..08c100117a2 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -633,16 +633,21 @@ TAO_CodeGen::start_server_template_header (const char *fname)
return -1;
}
- if (this->server_template_header_->open (fname,
- TAO_OutStream::TAO_SVR_TMPL_HDR)
- == -1)
+ int status =
+ this->server_template_header_->open (
+ fname,
+ TAO_OutStream::TAO_SVR_TMPL_HDR);
+
+ if (status == -1)
{
return -1;
}
- *this->server_template_header_ << be_nl << "// TAO_IDL - Generated from"
+ *this->server_template_header_ << be_nl
+ << "// TAO_IDL - Generated from"
<< be_nl
- << "// " << __FILE__ << ":" << __LINE__
+ << "// " << __FILE__
+ << ":" << __LINE__
<< be_nl << be_nl;
// Generate the ident string, if any.