1 | *** protocols/jabber/jabber_util.c.orig Fri Jun 20 12:25:52 2008 |
---|
2 | --- protocols/jabber/jabber_util.c Thu Jun 19 07:01:38 2008 |
---|
3 | *************** |
---|
4 | *** 285,292 **** |
---|
5 | |
---|
6 | len = strlen( orig ); |
---|
7 | new = g_new( char, len + 1 ); |
---|
8 | ! for( i = 0; i < len; i ++ ) |
---|
9 | new[i] = tolower( orig[i] ); |
---|
10 | |
---|
11 | new[i] = 0; |
---|
12 | return new; |
---|
13 | --- 285,297 ---- |
---|
14 | |
---|
15 | len = strlen( orig ); |
---|
16 | new = g_new( char, len + 1 ); |
---|
17 | ! for( i = 0; (i < len) && (orig[i] != '/'); i ++ ) |
---|
18 | new[i] = tolower( orig[i] ); |
---|
19 | + while(i < len) { |
---|
20 | + new[i] = orig[i]; |
---|
21 | + i++; |
---|
22 | + } |
---|
23 | + |
---|
24 | |
---|
25 | new[i] = 0; |
---|
26 | return new; |
---|