| 4975 /* code elsewhere assumes that the return value points to different |
4975 /* code elsewhere assumes that the return value points to different |
| 4976 memory than the passed value, but it won't free the normalized |
4976 memory than the passed value, but it won't free the normalized |
| 4977 data. wtf? */ |
4977 data. wtf? */ |
| 4978 |
4978 |
| 4979 static char buf[BUF_LEN]; |
4979 static char buf[BUF_LEN]; |
| 4980 strncpy(buf, id, sizeof(buf)); |
4980 g_strlcpy(buf, id, sizeof(buf)); |
| 4981 return buf; |
4981 return buf; |
| 4982 } |
4982 } |
| 4983 |
4983 |
| 4984 |
4984 |
| 4985 static void mw_prpl_remove_group(PurpleConnection *gc, PurpleGroup *group) { |
4985 static void mw_prpl_remove_group(PurpleConnection *gc, PurpleGroup *group) { |