[asterisk-commits] twilson: trunk r364048 - in /trunk: ./	main/asterisk.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Thu Apr 26 14:34:05 CDT 2012
    
    
  
Author: twilson
Date: Thu Apr 26 14:33:49 2012
New Revision: 364048
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=364048
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
........
Merged revisions 364047 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
    trunk/   (props changed)
    trunk/main/asterisk.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/asterisk.c?view=diff&rev=364048&r1=364047&r2=364048
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Thu Apr 26 14:33:49 2012
@@ -1272,7 +1272,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 asterisk-commits
mailing list