Changeset 552da22 for protocols/jabber
- Timestamp:
- 2023-04-01T20:29:42Z (21 months ago)
- Branches:
- master
- Children:
- 10425b2
- Parents:
- a4ac9c4
- git-author:
- David Cantrell <dcantrell@…> (01-04-23 20:29:42)
- git-committer:
- GitHub <noreply@…> (01-04-23 20:29:42)
- Location:
- protocols/jabber
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
ra4ac9c4 r552da22 63 63 /* If the queue is empty, allocate a new buffer. */ 64 64 jd->tx_len = len; 65 jd->txq = g_memdup (buf, len);65 jd->txq = g_memdup2(buf, len); 66 66 67 67 /* Try if we can write it immediately so we don't have to do … … 134 134 char *s; 135 135 136 s = g_memdup (jd->txq + st, jd->tx_len - st);136 s = g_memdup2(jd->txq + st, jd->tx_len - st); 137 137 jd->tx_len -= st; 138 138 g_free(jd->txq); -
protocols/jabber/jabber.c
ra4ac9c4 r552da22 803 803 804 804 /* Another one for hipchat, which has completely different logins */ 805 hipchat = g_memdup (ret, sizeof(struct prpl));805 hipchat = g_memdup2(ret, sizeof(struct prpl)); 806 806 hipchat->name = "hipchat"; 807 807 register_protocol(hipchat);
Note: See TracChangeset
for help on using the changeset viewer.