FACT++  1.0
void got_update_services ( BROWSER **  tag,
char *  buffer,
int *  size 
)

Definition at line 436 of file webDid.c.

References Memory::free(), Memory::malloc(), and bitem::service_format_ptr.

Referenced by update_services().

437 {
438  BROWSER *browserp;
439 
440  if(size){}
441  browserp = (BROWSER *)*tag;
442  if(browserp->service_format_ptr)
443  free(browserp->service_format_ptr);
444  browserp->service_format_ptr = (char *)malloc(strlen(buffer)+1);
445  strcpy(browserp->service_format_ptr, buffer);
446 }
void * malloc()
Definition: EventBuilder.cc:99
char * service_format_ptr
Definition: webDid.c:80
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
int size
Definition: db_dim_server.c:17
void free(void *mem)
Definition: webDid.c:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function: