Mercurial > ~mikael > mcabber > hg
comparison mcabber/libjabber/str.c @ 879:5f43b532cc37
Remove a few libjabber warnings
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 27 May 2006 13:33:41 +0200 |
parents | c3ae9251c197 |
children |
comparison
equal
deleted
inserted
replaced
878:c7ba6f41d056 | 879:5f43b532cc37 |
---|---|
301 | 301 |
302 temp = pmalloc(p,strlen(buf)+1); | 302 temp = pmalloc(p,strlen(buf)+1); |
303 | 303 |
304 if (temp == NULL) return(NULL); | 304 if (temp == NULL) return(NULL); |
305 | 305 |
306 for(i=0;i<strlen(buf);i++) | 306 for(i=0;i<(int)strlen(buf);i++) |
307 { | 307 { |
308 if (buf[i]=='&') | 308 if (buf[i]=='&') |
309 { | 309 { |
310 if (strncmp(&buf[i],"&",5)==0) | 310 if (strncmp(&buf[i],"&",5)==0) |
311 { | 311 { |