FACT++  1.0
void dna_report_error_old ( int  conn_id,
int  code,
char *  routine_name 
)

Definition at line 875 of file dna.c.

References dim_print_date_time(), Net_conns, str, and tcpip_get_error().

876 {
877  char str[128];
878  extern void tcpip_get_error(char *, int);
880  printf("%s", routine_name);
881  if(conn_id)
882  {
883  if(Net_conns[conn_id].node[0])
884  printf(" %s on node %s",
885  Net_conns[conn_id].task, Net_conns[conn_id].node);
886 /*
887  else
888  printf("\tConn %d :\n", conn_id);
889 */
890  }
891  if(code != -1)
892  {
893 /*
894  printf("\t");
895  tcpip_report_error(code);
896 */
897  tcpip_get_error(str, code);
898  printf(": %s\n",str);
899  }
900  fflush(stdout);
901 }
Definition: dns.c:26
DllExp DIM_NOSHARE NET_CONNECTION * Net_conns
Definition: conn_handler.c:32
char str[80]
Definition: test_client.c:7
void tcpip_get_error(char *str, int code)
Definition: tcpip.c:1842
void dim_print_date_time()
Definition: utilities.c:134

+ Here is the call graph for this function: