diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-10 14:57:59 +0200 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-10 14:57:59 +0200 | 
| commit | 764b0aba8754ab488ccc84f5cba0f9bd0c454707 (patch) | |
| tree | 576edf754cafeef898159dd48e8f2640e83de382 /protocols/oscar | |
| parent | 64d1f45ed9ccfd90ba17592ac980dcb3436f9548 (diff) | |
| parent | 5d6c17898cbafe1585ac626af5a0fcd5508d9c65 (diff) | |
Merge from Jelmer.
Diffstat (limited to 'protocols/oscar')
| -rw-r--r-- | protocols/oscar/oscar_util.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/oscar/oscar_util.c b/protocols/oscar/oscar_util.c index 1bb27559..0ce06bd9 100644 --- a/protocols/oscar/oscar_util.c +++ b/protocols/oscar/oscar_util.c @@ -108,7 +108,7 @@ static int aim_snlen(const char *sn)  		return 0;  	curPtr = sn; -	while ( (*curPtr) != (char) NULL) { +	while ( (*curPtr) != (char) '\0') {  		if ((*curPtr) != ' ')  		i++;  		curPtr++; @@ -139,7 +139,7 @@ int aim_sncmp(const char *sn1, const char *sn2)  	curPtr1 = sn1;  	curPtr2 = sn2; -	while ( (*curPtr1 != (char) NULL) && (*curPtr2 != (char) NULL) ) { +	while ( (*curPtr1 != (char) '\0') && (*curPtr2 != (char) '\0') ) {  		if ( (*curPtr1 == ' ') || (*curPtr2 == ' ') ) {  			if (*curPtr1 == ' ')  				curPtr1++;  | 
