Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
81ccae08
...
81ccae082da46ea051a14257e7a0a0a416bbbaf7
authored
2002-08-25 12:39:24 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(fetch_operation) Fix section specification output.
1 parent
59201f82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
imap4d/fetch.c
imap4d/fetch.c
View file @
81ccae0
...
...
@@ -1059,24 +1059,28 @@ fetch_operation (message_t msg, char **arg, int silent)
(
*
arg
)
+=
13
;
fetch_header_fields
(
msg
,
arg
,
start
,
end
);
}
/* Last case check also for section to catch "[1.2.3]" submessages. */
else
if
(
strncasecmp
(
*
arg
,
"TEXT]"
,
5
)
==
0
||
section
)
else
if
(
strncasecmp
(
*
arg
,
"TEXT]"
,
5
)
==
0
)
{
if
(
!
silent
)
{
if
(
*
section
)
util_send
(
"[%s]"
,
section
);
util_send
(
"[%s
TEXT
]"
,
section
);
else
util_send
(
"[TEXT]"
);
}
if
(
*
section
)
(
*
arg
)
++
;
else
(
*
arg
)
+=
5
;
(
*
arg
)
+=
5
;
fetch_body_content
(
msg
,
start
,
end
);
}
else
if
(
**
arg
==
']'
)
{
if
(
!
silent
)
util_send
(
"[%s]"
,
section
);
(
*
arg
)
++
;
fetch_body_content
(
msg
,
start
,
end
);
}
else
util_send
(
"
\"\"
"
);
util_send
(
"
\"\"
"
);
/*FIXME: ERROR Message!*/
free
(
section
);
return
RESP_OK
;
}
...
...
Please
register
or
sign in
to post a comment