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
257c5cda
...
257c5cdac7638dc2e7b4d2ada0c4c336fd178ff7
authored
2002-08-13 13:23:36 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Include <mailutils/error.h>
1 parent
34359c61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
MySql/MySql.c
MySql/MySql.c
View file @
257c5cd
...
...
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <pwd.h>
#include <mailutils/error.h>
#ifdef HAVE_MYSQL
...
...
@@ -27,7 +28,7 @@ sql_expand_query (const char *query, const char *ustr)
return
NULL
;
/* Compute resulting query length */
for
(
len
=
0
,
p
=
query
;
*
p
;
)
for
(
len
=
0
,
p
=
(
char
*
)
query
;
*
p
;
)
{
if
(
*
p
==
'%'
)
{
...
...
@@ -58,7 +59,7 @@ sql_expand_query (const char *query, const char *ustr)
if
(
!
res
)
return
res
;
for
(
p
=
query
,
q
=
res
;
*
p
;
)
for
(
p
=
(
char
*
)
query
,
q
=
res
;
*
p
;
)
{
if
(
*
p
==
'%'
)
{
...
...
Please
register
or
sign in
to post a comment