Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b1291364
Commit
b1291364
authored
Dec 19, 2001
by
jani@hynda.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in mail_to_db.pl
parent
1a4ac20b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/mail_to_db.pl
tests/mail_to_db.pl
+3
-3
No files found.
tests/mail_to_db.pl
View file @
b1291364
...
@@ -17,7 +17,7 @@ use DBI;
...
@@ -17,7 +17,7 @@ use DBI;
use
Getopt::
Long
;
use
Getopt::
Long
;
$|
=
1
;
$|
=
1
;
$VER
=
"
2.
3
";
$VER
=
"
2.
4
";
$opt_help
=
0
;
$opt_help
=
0
;
$opt_version
=
0
;
$opt_version
=
0
;
...
@@ -213,12 +213,12 @@ sub process_mail_file
...
@@ -213,12 +213,12 @@ sub process_mail_file
%
values
=
();
%
values
=
();
$type
=
"";
$type
=
"";
$check
=
0
;
$check
=
0
;
while
(
<
FILE
>
)
while
(
<
FILE
>
)
{
{
chop
;
chop
;
chop
if
(
substr
(
$_
,
-
1
,
1
)
eq
"
\r
");
if
(
$type
ne
"
message
")
if
(
$type
ne
"
message
")
{
{
if
(
/^Reply-To: (.*)/i
)
if
(
/^Reply-To: (.*)/i
)
{
{
$type
=
"
reply
";
$type
=
"
reply
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment