]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - libratbox/include/rb_memory.h
Automated merge with ssh://shadowircd/uranium/shadowircd/
[irc/rqf/shadowircd.git] / libratbox / include / rb_memory.h
index 1cb3d3ca0208e84bd3e61aa65fbd8e94e7caf21d..d4dd6f0c2a47c9cb49688ccb220729f408259d0d 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
  *  USA
  *
- *  $Id: rb_memory.h 25375 2008-05-16 15:19:51Z androsyn $
+ *  $Id: rb_memory.h 26092 2008-09-19 15:13:52Z androsyn $
  */
 
 #ifndef RB_LIB_H
@@ -62,7 +62,7 @@ rb_strndup(const char *x, size_t y)
        if(rb_unlikely(ret == NULL))
                rb_outofmemory();
        rb_strlcpy(ret, x, y);
-       return(ret);
+       return (ret);
 }
 
 static inline char *
@@ -72,16 +72,15 @@ rb_strdup(const char *x)
        if(rb_unlikely(ret == NULL))
                rb_outofmemory();
        strcpy(ret, x);
-       return(ret);
+       return (ret);
 }
 
 
 static inline void
 rb_free(void *ptr)
 {
-        if(rb_likely(ptr != NULL))
-               free(ptr);
+       if(rb_likely(ptr != NULL))
+               free(ptr);
 }
 
 #endif /* _I_MEMORY_H */
-