PostGIS
3.7.0dev-r@@SVN_REVISION@@
◆
pgui_sanitize_connection_string()
static void pgui_sanitize_connection_string
(
char *
connection_string
)
static
Definition at line
2497
of file
shp2pgsql-gui.c
.
2498
{
2499
char
*ptr = strstr(connection_string,
"password"
);
2500
if
( ptr )
2501
{
2502
ptr += 10;
2503
while
( *ptr !=
'\''
&& *ptr !=
'\0'
)
2504
{
2505
/* If we find a \, hide both it and the next character */
2506
if
( *ptr ==
'\\'
)
2507
*ptr++ =
'*'
;
2508
2509
*ptr++ =
'*'
;
2510
}
2511
}
2512
return
;
2513
}
Referenced by
connection_test()
.
Here is the caller graph for this function:
loader
shp2pgsql-gui.c
Generated by
1.9.1