[svn-commits] twilson: branch 10 r364047 - in /branches/10: ./ main/asterisk.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 26 14:31:08 CDT 2012


Author: twilson
Date: Thu Apr 26 14:30:55 2012
New Revision: 364047

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=364047
Log:
Add more constness to the end_buf pointer in the netconsole

issue ASTERISK-18308
Review: https://reviewboard.asterisk.org/r/1876/
........

Merged revisions 364046 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/asterisk.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/asterisk.c?view=diff&rev=364047&r1=364046&r2=364047
==============================================================================
--- branches/10/main/asterisk.c (original)
+++ branches/10/main/asterisk.c Thu Apr 26 14:30:55 2012
@@ -1266,7 +1266,7 @@
 	char hostname[MAXHOSTNAMELEN] = "";
 	char inbuf[512];
 	char outbuf[512];
-	const char *end_buf = inbuf + sizeof(inbuf);
+	const char * const end_buf = inbuf + sizeof(inbuf);
 	char *start_read = inbuf;
 	int res;
 	struct pollfd fds[2];




More information about the svn-commits mailing list