[sr-dev] git:andrei/tcp_tls_changes: core: str.h - s/NULL/0/

Andrei Pelinescu-Onciul andrei at iptel.org
Fri May 28 13:44:56 CEST 2010


Module: sip-router
Branch: andrei/tcp_tls_changes
Commit: 077552bdf8a3abeebaaf0b6f45104be694c98fc2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=077552bdf8a3abeebaaf0b6f45104be694c98fc2

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu May 27 20:00:25 2010 +0200

core: str.h - s/NULL/0/

Replace NULL with 0 (saves an extra #include).

---

 str.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/str.h b/str.h
index 10be113..452fd7d 100644
--- a/str.h
+++ b/str.h
@@ -93,7 +93,7 @@ typedef struct _str str;
  * \code str var = STR_NULL; \endcode
  * @sa STR_STATIC_INIT
  */
-#define STR_NULL {NULL, 0}
+#define STR_NULL {0, 0}
 
 /** Formats ::str string for use in printf-like functions.
  * This is a macro that prepares a ::str string for use in functions which 




More information about the sr-dev mailing list