Changeset 18349 for trunk/FACT++/dim/src/did
- Timestamp:
- 10/29/15 19:53:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/did/did.c
r15282 r18349 2341 2341 buffer->server.pid = vtohl(buffer->server.pid); 2342 2342 n_services = buffer->server.n_services; 2343 2343 /* 2344 printf("received pid %d, nservices %d\n",buffer->server.pid, n_services); 2345 */ 2344 2346 if(n_services == 1) 2345 2347 return; 2346 2348 strcpy(sname, buffer->server.task); 2349 /* 2350 printf("name = %s\n", sname); 2351 */ 2347 2352 if(n_services > 1) 2348 2353 { … … 2410 2415 } 2411 2416 servp->busy = 1; 2417 if(strcmp(servp->name, sname)) 2418 { 2419 strcpy(servp->name,sname); 2420 Force_update = 1; 2421 servp->busy = 3; 2422 } 2412 2423 } 2413 2424 else … … 2526 2537 } 2527 2538 server_ptr = &servp->server; 2539 if(servp->busy == 3) 2540 { 2541 remove_button(servp); 2542 servp->busy = 1; 2543 } 2528 2544 if(servp->busy == 1) 2529 2545 {
Note:
See TracChangeset
for help on using the changeset viewer.