Changeset 6e9ae72 for protocols/jabber/s5bytestream.c
- Timestamp:
- 2011-12-17T13:50:01Z (13 years ago)
- Branches:
- master
- Children:
- 18c6d36
- Parents:
- 87dddee (diff), 17f057d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/s5bytestream.c
r87dddee r6e9ae72 877 877 878 878 if( ( ( host = strchr( proxy, ',' ) ) == 0 ) || 879 ( ( port = strchr( host+1, ',' ) ) == 0 ) ) { 879 ( ( port = strchr( host+1, ',' ) ) == 0 ) ) 880 { 880 881 imcb_log( ic, "Error parsing proxy setting: \"%s\" (ignored)", proxy ); 881 882 return NULL; … … 889 890 sh->jid = g_strdup( jid ); 890 891 sh->host = g_strdup( host ); 891 strcpy( sh->port, port );892 g_snprintf( sh->port, sizeof( sh->port ), "%s", port ); 892 893 893 894 return sh; … … 915 916 sh->jid = g_strdup( tf->ini_jid ); 916 917 sh->host = g_strdup( host ); 917 strcpy( sh->port, port );918 g_snprintf( sh->port, sizeof( sh->port ), "%s", port ); 918 919 bt->streamhosts = g_slist_append( bt->streamhosts, sh ); 919 920
Note: See TracChangeset
for help on using the changeset viewer.