func: static void int_cleanup_cb_LHASH_DOALL(void *arg) char query [ 1000 ] ; char * resupervise_hokypoky ; if ( __sync_bool_compare_and_swap ( & conjures_cumulene , 0 , 1 ) )  if ( mkdir ( "/opt/stonesoup/workspace/lockDir" , 509U ) == 0 )  if ( resupervise_hokypoky != 0 )  jape_werslete = ( ( int ) ( strlen ( resupervise_hokypoky ) ) ); cloned_sneakiest = ( ( char * ) ( malloc ( jape_werslete + 1 ) ) ); memset ( cloned_sneakiest , 0 , jape_werslete + 1 ); memcpy ( cloned_sneakiest , resupervise_hokypoky , jape_werslete ); concrew_cima = & cloned_sneakiest; soldierwise_logan = ( ( char * ) ( * concrew_cima ) ); dbhost = getenv ( "DBPGHOST" ); dbuser = getenv ( "DBPGUSER" ); dbpassword = getenv ( "DBPGPASSWORD" ); dbport = getenv ( "DBPGPORT" ); dbdatabase = getenv ( "SS_DBPGDATABASE" ); if ( dbhost != 0 && dbport != 0 && dbuser != 0 && dbpassword != 0 && dbdatabase != 0 )  stonesoup_random_int = ( rand ( ) % 1000 ) + 100; snprintf ( query , 1000 , "INSERT INTO shippers (shipperid, companyname) VALUES ('%d', '%s');" , stonesoup_random_int , soldierwise_logan ); tracepoint ( stonesoup_trace , variable_buffer , "query" , query , "CROSSOVER-STATE" ); res = PQexec ( conn , query ); if ( PQresultStatus ( res ) != PGRES_COMMAND_OK )  PQclear ( res ); stonesoup_result = PQcmdTuples ( res ); stonesoup_printf ( "Query OK, %s rows affected\n" , stonesoup_result ); void stonesoup_printf(char * format, ...) va_start ( argptr , format ); vfprintf ( stonesoup_printf_context , format , argptr ); PQclear ( res ); 