projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e1eead
)
Code style: Fixed indent and comment style.
author
markus schnalke
<meillo@marmaro.de>
Mon, 30 Apr 2012 14:16:08 +0000
(16:16 +0200)
committer
markus schnalke
<meillo@marmaro.de>
Mon, 30 Apr 2012 14:16:08 +0000
(16:16 +0200)
uip/mhparse.c
patch
|
blob
|
history
diff --git
a/uip/mhparse.c
b/uip/mhparse.c
index
dc8e380
..
af460e6
100644
(file)
--- a/
uip/mhparse.c
+++ b/
uip/mhparse.c
@@
-1536,7
+1536,7
@@
openBase64(CT ct, char **file)
cp = context_find(buffer);
if (cp == NULL || *cp == '\0') {
snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name,
cp = context_find(buffer);
if (cp == NULL || *cp == '\0') {
snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name,
- ci->ci_type);
+ ci->ci_type);
cp = context_find(buffer);
}
if (cp != NULL && *cp != '\0') {
cp = context_find(buffer);
}
if (cp != NULL && *cp != '\0') {
@@
-1752,8
+1752,10
@@
openQuoted(CT ct, char **file)
}
if (cp != NULL && *cp != '\0') {
if (ce->ce_unlink) {
}
if (cp != NULL && *cp != '\0') {
if (ce->ce_unlink) {
- // Temporary file already exists, so we rename to
- // version with extension.
+ /*
+ ** Temporary file already exists, so we rename to
+ ** version with extension.
+ */
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
char *file_org = strdup(ce->ce_file);
ce->ce_file = add(cp, ce->ce_file);
if (rename(file_org, ce->ce_file)) {
@@
-1962,7
+1964,7
@@
open7Bit(CT ct, char **file)
cp = context_find(buffer);
if (cp == NULL || *cp == '\0') {
snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name,
cp = context_find(buffer);
if (cp == NULL || *cp == '\0') {
snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name,
- ci->ci_type);
+ ci->ci_type);
cp = context_find(buffer);
}
if (cp != NULL && *cp != '\0') {
cp = context_find(buffer);
}
if (cp != NULL && *cp != '\0') {