PostGIS
3.7.0dev-r@@SVN_REVISION@@
◆
pgui_sanitize_connection_string()
static void pgui_sanitize_connection_string
(
char *
connection_string
)
static
Definition at line
2522
of file
shp2pgsql-gui.c
.
2523
{
2524
char
*ptr = strstr(connection_string,
"password"
);
2525
if
( ptr )
2526
{
2527
ptr += 10;
2528
while
( *ptr !=
'\''
&& *ptr !=
'\0'
)
2529
{
2530
/* If we find a \, hide both it and the next character */
2531
if
( *ptr ==
'\\'
)
2532
*ptr++ =
'*'
;
2533
2534
*ptr++ =
'*'
;
2535
}
2536
}
2537
return
;
2538
}
Referenced by
connection_test()
.
Here is the caller graph for this function:
loader
shp2pgsql-gui.c
Generated by
1.9.1