[asterisk-commits] russell: branch group/asterisk-cpp r168444 - in /team/group/asterisk-cpp: ./ ...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 11 13:47:28 CST 2009


Author: russell
Date: Sun Jan 11 13:47:28 2009
New Revision: 168444

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168444
Log:
strings.c builds

Modified:
    team/group/asterisk-cpp/README-cpp
    team/group/asterisk-cpp/main/strings.c

Modified: team/group/asterisk-cpp/README-cpp
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/README-cpp?view=diff&rev=168444&r1=168443&r2=168444
==============================================================================
--- team/group/asterisk-cpp/README-cpp (original)
+++ team/group/asterisk-cpp/README-cpp Sun Jan 11 13:47:28 2009
@@ -3,7 +3,7 @@
 ----------------------------------
 
 mmichelson: manager.c, http.c
-russell: strings.c
+russell:
 seanbright: srv.c, channel.c
 
 ----------------------------------

Modified: team/group/asterisk-cpp/main/strings.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/strings.c?view=diff&rev=168444&r1=168443&r2=168444
==============================================================================
--- team/group/asterisk-cpp/main/strings.c (original)
+++ team/group/asterisk-cpp/main/strings.c Sun Jan 11 13:47:28 2009
@@ -78,10 +78,10 @@
 				need += 16 + need / 4;
 			}
 			if (0) {	/* debugging */
-				ast_verbose("extend from %d to %d\n", (int)(*buf)->__AST_STR_LEN, need);
+				ast_verbose("extend from %d to %d\n", (int) (*buf)->__AST_STR_LEN, (int) need);
 			}
 			if (ast_str_make_space(buf, need)) {
-				ast_verbose("failed to extend from %d to %d\n", (int)(*buf)->__AST_STR_LEN, need);
+				ast_verbose("failed to extend from %d to %d\n", (int) (*buf)->__AST_STR_LEN, (int) need);
 				return AST_DYNSTR_BUILD_FAILED;
 			}
 			(*buf)->__AST_STR_STR[offset] = '\0';	/* Truncate the partial write. */




More information about the asterisk-commits mailing list