projects
/
mymail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a6e56
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 12 Feb 2013 22:02:21 +0000
(23:02 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 12 Feb 2013 22:02:21 +0000
(23:02 +0100)
mymail.c
patch
|
blob
|
history
diff --git
a/mymail.c
b/mymail.c
index
325562e
..
b7e46ba
100644
(file)
--- a/
mymail.c
+++ b/
mymail.c
@@
-155,11
+155,12
@@
int xor(int a, int b) {
const char *parse_token(char *token_buffer, size_t token_buffer_size,
char separator, const char *string) {
char *u = token_buffer;
+ while(*string == separator) { string++; }
while(u < token_buffer + token_buffer_size - 1 && *string &&
*string != separator) {
*(u++) = *(string++);
}
- while(*string == separator)
string++;
+ while(*string == separator)
{ string++; }
*u = '\0';
return string;
}