Click here to Skip to main content
15,891,708 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Pet Peeve Pin
Paulo Zemek10-Dec-14 19:32
mvaPaulo Zemek10-Dec-14 19:32 
GeneralRe: Pet Peeve Pin
Brady Kelly10-Dec-14 21:38
Brady Kelly10-Dec-14 21:38 
GeneralRe: Pet Peeve Pin
RJ Hatch11-Dec-14 6:05
RJ Hatch11-Dec-14 6:05 
GeneralRe: Pet Peeve Pin
Paulo Zemek11-Dec-14 7:29
mvaPaulo Zemek11-Dec-14 7:29 
GeneralRe: Pet Peeve Pin
Daniel Vaughan11-Dec-14 0:24
Daniel Vaughan11-Dec-14 0:24 
GeneralRe: Pet Peeve Pin
Brady Kelly11-Dec-14 0:47
Brady Kelly11-Dec-14 0:47 
GeneralRe: Pet Peeve Pin
StatementTerminator11-Dec-14 8:18
StatementTerminator11-Dec-14 8:18 
GeneralRe: Pet Peeve Pin
Oleg A.Lukin10-Dec-14 23:06
Oleg A.Lukin10-Dec-14 23:06 
That works fine until you get this in the code after all Smile | :)
C++
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
    goto fail;
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
    goto fail;
    goto fail;
if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
    goto fail;


When I first saw that bug I got even more convinced see that my approach to braces everywhere as a must works better in the end.
Banking establishments are more dangerous than standing armies. T.Jefferson

GeneralRe: Pet Peeve Pin
Paulo Zemek11-Dec-14 6:45
mvaPaulo Zemek11-Dec-14 6:45 
GeneralRe: Pet Peeve Pin
Oleg A.Lukin11-Dec-14 21:15
Oleg A.Lukin11-Dec-14 21:15 
GeneralRe: Pet Peeve Pin
tom144311-Dec-14 3:32
tom144311-Dec-14 3:32 
GeneralRe: Pet Peeve Pin
StatementTerminator11-Dec-14 8:30
StatementTerminator11-Dec-14 8:30 
GeneralRe: Pet Peeve Pin
Paulo Zemek11-Dec-14 8:37
mvaPaulo Zemek11-Dec-14 8:37 
GeneralRe: Pet Peeve Pin
Sander Rossel10-Dec-14 10:21
professionalSander Rossel10-Dec-14 10:21 
GeneralRe: Pet Peeve Pin
Ian Shlasko10-Dec-14 11:16
Ian Shlasko10-Dec-14 11:16 
JokeRe: Pet Peeve Pin
Jeremy Falcon10-Dec-14 11:23
professionalJeremy Falcon10-Dec-14 11:23 
GeneralRe: Pet Peeve Pin
Sander Rossel10-Dec-14 11:29
professionalSander Rossel10-Dec-14 11:29 
GeneralRe: Pet Peeve Pin
glennPattonWork310-Dec-14 11:50
professionalglennPattonWork310-Dec-14 11:50 
GeneralRe: Pet Peeve Pin
_Damian S_10-Dec-14 11:55
professional_Damian S_10-Dec-14 11:55 
GeneralRe: Pet Peeve Pin
PIEBALDconsult10-Dec-14 14:01
mvePIEBALDconsult10-Dec-14 14:01 
GeneralRe: Pet Peeve Pin
StatementTerminator11-Dec-14 8:38
StatementTerminator11-Dec-14 8:38 
GeneralRe: Pet Peeve Pin
PIEBALDconsult11-Dec-14 12:10
mvePIEBALDconsult11-Dec-14 12:10 
GeneralRe: Pet Peeve Pin
StatementTerminator12-Dec-14 3:16
StatementTerminator12-Dec-14 3:16 
GeneralRe: Pet Peeve Pin
PIEBALDconsult12-Dec-14 3:58
mvePIEBALDconsult12-Dec-14 3:58 
GeneralRe: Pet Peeve Pin
xiecsuk10-Dec-14 21:48
xiecsuk10-Dec-14 21:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.