Mercurial > dovecot > core-2.2
comparison src/lib/strescape.c @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | 0d5be52d7131 |
children | 3784730cfcd8 |
comparison
equal
deleted
inserted
replaced
902:5043e48c022f | 903:fd8888f6f037 |
---|---|
49 } | 49 } |
50 *p = '\0'; | 50 *p = '\0'; |
51 return ret; | 51 return ret; |
52 } | 52 } |
53 | 53 |
54 void str_append_unescaped(String *dest, const void *src, size_t src_size) | 54 void str_append_unescaped(string_t *dest, const void *src, size_t src_size) |
55 { | 55 { |
56 const unsigned char *src_c = src; | 56 const unsigned char *src_c = src; |
57 size_t start = 0, i = 0; | 57 size_t start = 0, i = 0; |
58 | 58 |
59 while (i < src_size) { | 59 while (i < src_size) { |