update guidelines to follow their own rules for whitespace (bug #4486)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-07 21:28:56 +00:00
parent 304bc75cf1
commit b6ae77bcdf

View File

@@ -90,7 +90,7 @@ for (x=0;x<5;x++) {
Don't build code like this:
if (foo) {
.... 50 lines of code ...
/* .... 50 lines of code ... */
} else {
result = 0;
return;
@@ -125,6 +125,7 @@ options that they are in fact intended to be global.
When making applications, always ast_strdupa(data) to a local pointer if
you intend to parse it.
if (data)
mydata = ast_strdupa(data);