Author: dumindu Date: Tue Feb 26 09:15:14 2008 New Revision: 631300 URL: http://svn.apache.org/viewvc?rev=631300&view=rev Log: Fixed a minor spelling error :)
s/heystack/haystack Modified: webservices/axis2/trunk/c/util/src/string.c Modified: webservices/axis2/trunk/c/util/src/string.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/string.c?rev=631300&r1=631299&r2=631300&view=diff ============================================================================== --- webservices/axis2/trunk/c/util/src/string.c (original) +++ webservices/axis2/trunk/c/util/src/string.c Tue Feb 26 09:15:14 2008 @@ -571,10 +571,10 @@ AXIS2_EXTERN axis2_char_t *AXIS2_CALL axutil_strstr( - const axis2_char_t * heystack, + const axis2_char_t * haystack, const axis2_char_t * needle) { - return strstr(heystack, needle); + return strstr(haystack, needle); } AXIS2_EXTERN axis2_char_t *AXIS2_CALL @@ -804,14 +804,14 @@ AXIS2_EXTERN axis2_char_t *AXIS2_CALL axutil_strcasestr( - const axis2_char_t * heystack, + const axis2_char_t * haystack, const axis2_char_t * needle) { axis2_char_t start, current; size_t len; - if (!heystack || !needle) + if (!haystack || !needle) { return NULL; } @@ -823,16 +823,16 @@ { do { - if (!(current = *heystack++)) + if (!(current = *haystack++)) { return NULL; } } while (toupper(current) != toupper(start)); } - while (axutil_strncasecmp(heystack, needle, (int)len)); + while (axutil_strncasecmp(haystack, needle, (int)len)); /* We are sure that the difference lies within the int range */ - heystack--; + haystack--; } - return (axis2_char_t *) heystack; + return (axis2_char_t *) haystack; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]