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
9ed64292
...
9ed64292e5c273a1050e70f7b7947bfed7dbb24b
authored
2003-11-28 15:11:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(argcv_escape_char,escape_copy): Bugfix
1 parent
fc3bc544
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mailbox/argcv.c
mailbox/argcv.c
View file @
9ed6429
...
...
@@ -117,7 +117,7 @@ argcv_escape_char (int c)
if
(
*
p
==
c
)
return
p
[
-
1
];
}
return
c
;
return
-
1
;
}
...
...
@@ -259,7 +259,7 @@ escape_copy (char *dst, const char *src)
else
{
char
tmp
[
4
];
snprintf
(
tmp
,
sizeof
tmp
,
"%03o"
,
*
src
);
snprintf
(
tmp
,
sizeof
tmp
,
"%03o"
,
*
(
unsigned
char
*
)
src
);
memcpy
(
dst
,
tmp
,
3
);
dst
+=
3
;
}
...
...
Please
register
or
sign in
to post a comment