simple macro like #define NS_STR(s)  (s != NULL ? s : "")
can be used instead of using ?: every time

Stephen Deasey wrote:
> On Thu, Feb 5, 2009 at 5:21 PM, Vasiljevic Zoran <z...@archiware.com> wrote:
>> On 05.02.2009, at 18:14, Vlad Seryakov wrote:
>>
>>> The reason i think because Ns_DStringPrintf now uses OS's snprintf,
>>> before that it uses home-grown sprintf-like engine.
> 
> 
> Yeah, all uses of printf-like functions throughout the code base need
> to be checked. I know at least I've been sloppy about this.
> 
> 
>> Most probably. But that will not help us of course.
>> I will need to learn this brave new code
>> repository thing...
> 
> 
> Don't forget to sign up with bitbucket.org and tell me your username.
> 
> You'll be able to clone (checkout) and commit (locally) no problem as
> is, but you need to be authorized to push back.
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
> 

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to