PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void pgui_sanitize_connection_string ( char *  connection_string)
static

Definition at line 2484 of file shp2pgsql-gui.c.

Referenced by connection_test().

2485 {
2486  char *ptr = strstr(connection_string, "password");
2487  if ( ptr )
2488  {
2489  ptr += 10;
2490  while ( *ptr != '\'' && *ptr != '\0' )
2491  {
2492  /* If we find a \, hide both it and the next character */
2493  if ( *ptr == '\\' )
2494  *ptr++ = '*';
2495 
2496  *ptr++ = '*';
2497  }
2498  }
2499  return;
2500 }

Here is the caller graph for this function: