[Home]

Summary:ASTERISK-03041: [PATCH] allow ext_strncpy to return string length
Reporter:Kevin P. Fleming (kpfleming)Labels:
Date Opened:2004-12-19 11:32:32.000-0600Date Closed:2008-01-15 15:17:06.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ext_strncpy_strlen_rev1.diff
Description:ext_strncpy already computes the length of the string it is copying, so it would be better to just return it and save its caller from having to call strlen() to find out the same information.

****** ADDITIONAL INFORMATION ******

Disclaimer is on file.
Comments:By: Mark Spencer (markster) 2004-12-19 12:21:47.000-0600

Added to CVS, thanks!

By: Russell Bryant (russell) 2004-12-19 21:02:25.000-0600

doesn't affect 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:17:06.000-0600

Repository: asterisk
Revision: 4482

U   trunk/apps/app_sms.c
U   trunk/pbx.c

------------------------------------------------------------------------
r4482 | markster | 2008-01-15 15:17:06 -0600 (Tue, 15 Jan 2008) | 2 lines

SMS fix, pbx optimization (bug ASTERISK-3041)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4482