]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
windows line endings, sorry.
authorMichael Jerris <mike@jerris.com>
Fri, 9 Mar 2007 21:12:41 +0000 (21:12 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 9 Mar 2007 21:12:41 +0000 (21:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4496 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_apr.c

index 52ee2372e5421b8e4a793b572facaa15c8006040..61c503190903afaab6ce6677ed87ef8e26f3d705 100644 (file)
@@ -653,13 +653,13 @@ SWITCH_DECLARE(int) switch_vasprintf(char **buf, const char *format, va_list ap)
     data.vbuff.endpos = data.buf + data.block_size;
 
     return apr_vformatter(vasprintf_flush, (apr_vformatter_buff_t *)&data, format, ap);
-#endif\r
-#ifdef HAVE_VASPRINTF\r
-    return vasprintf(buf, format, ap);\r
-#else\r
-    *buf = (char *) malloc(2048);\r
-    return vsnprintf(*buf, 2048, format, ap);\r
-#endif\r
+#endif
+#ifdef HAVE_VASPRINTF
+    return vasprintf(buf, format, ap);
+#else
+    *buf = (char *) malloc(2048);
+    return vsnprintf(*buf, 2048, format, ap);
+#endif
 }