Skip to Content.
Sympa Menu

freetds - RE: indent (next shot:) )

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Casey Allen Shobe <cshobe AT secureworks.net>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: indent (next shot:) )
  • Date: Tue, 29 Oct 2002 11:54:22 -0500


On Tuesday 29 October 2002 11:08 am, Steve Langasek wrote:
> I would format the above code in one of two ways:
>
> if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype
> &computeid)) == TDS_SUCCEED)
> {
>
> or
>
> if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype
> &computeid)) == TDS_SUCCEED)
> {

I would format it like so.

if (
(
ret = tds_process_row_tokens (
db_proc->tds_socket, &rowtype, &computeid
)
) == TDS_SUCCEED
) {
[...]
}
--
Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
cshobe AT secureworks.net / http://www.secureworks.net
Content is my own and does not necessarily represent my company.

Useful ps: alias psa='ps -fAH Sgt'




Archive powered by MHonArc 2.6.24.

Top of Page