[Freeswitch-svn] [commit] r4496 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Fri Mar 9 16:12:41 EST 2007


Author: mikej
Date: Fri Mar  9 16:12:41 2007
New Revision: 4496

Modified:
   freeswitch/trunk/src/switch_apr.c

Log:
windows line endings, sorry.

Modified: freeswitch/trunk/src/switch_apr.c
==============================================================================
--- freeswitch/trunk/src/switch_apr.c	(original)
+++ freeswitch/trunk/src/switch_apr.c	Fri Mar  9 16:12:41 2007
@@ -653,13 +653,13 @@
     data.vbuff.endpos = data.buf + data.block_size;
 
     return apr_vformatter(vasprintf_flush, (apr_vformatter_buff_t *)&data, format, ap);
-#endif
-#ifdef HAVE_VASPRINTF
-    return vasprintf(buf, format, ap);
-#else
-    *buf = (char *) malloc(2048);
-    return vsnprintf(*buf, 2048, format, ap);
-#endif
+#endif
+#ifdef HAVE_VASPRINTF
+    return vasprintf(buf, format, ap);
+#else
+    *buf = (char *) malloc(2048);
+    return vsnprintf(*buf, 2048, format, ap);
+#endif
 }
 
 



More information about the Freeswitch-svn mailing list