about summary refs log tree commit diff stats
path: root/src/otr/otr.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-11 22:13:06 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-03-11 22:24:02 +0100
commite3133ed98f5e24edea088b95f121f2ee4e41d5e4 (patch)
tree39b7a2e58c37faee8c09d5fee6138203aafb11ec /src/otr/otr.c
parentc1ccaee58fe576e4e8f232f7e20ebb912ffb2a1a (diff)
downloadprofani-tty-e3133ed98f5e24edea088b95f121f2ee4e41d5e4.tar.gz
autocomplete: Use asprintf don't calculate length twice
Through asprintf() we can get rid of malloc() + sprintf().
Also we don't need to calculate the strlen() again since asprintf()
returns the bytes printes.

Only non UTF-8 characters. But that was true before already.
Diffstat (limited to 'src/otr/otr.c')
0 files changed, 0 insertions, 0 deletions
ooth <boothj5@gmail.com> 2012-11-22 02:34:49 +0000 committer James Booth <boothj5@gmail.com> 2012-11-22 02:34:49 +0000 Added time to themes, and some example themes' href='/danisanti/profani-tty/commit/themes/whiteness?id=45a26b111f8bdfe9fb534368eb29bb8963353d8a'>45a26b11 ^
30b5f112 ^
71679a31 ^

45a26b11 ^


45a26b11 ^
30b5f112 ^
2f82f50a ^
86c1c388 ^
1a3dc91e ^
30b5f112 ^


fbc30231 ^

















cd2458c0 ^

0ae975c2 ^

b21edfaa ^
1900402f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77