Ignore:
Timestamp:
Feb 7, 2006 9:13:28 PM (18 years ago)
Author:
bennylp
Message:

Renamed pjsua.c to pjsua_core.c since it is causing link problems with gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua/main.c

    r141 r147  
    7272    puts("  q    Quit"); 
    7373    puts(""); 
     74    fflush(stdout); 
    7475} 
    7576 
     
    101102            if (inv_session != NULL) { 
    102103                puts("Can not make call while another one is in progress"); 
     104                fflush(stdout); 
    103105                continue; 
    104106            } 
    105107 
    106108#if 1 
    107             printf("Enter URL to call: "); 
     109            printf("Enter URL to call: "); fflush(stdout); 
    108110            fgets(buf, sizeof(buf), stdin); 
    109111 
     
    111113                /* Cancelled. */ 
    112114                puts("<cancelled>"); 
     115                fflush(stdout); 
    113116                continue; 
    114117            } 
     
    134137            if (inv_session == NULL) { 
    135138                puts("No current call"); 
     139                fflush(stdout); 
    136140                continue; 
    137141 
     
    385389    if (!fhnd) { 
    386390        printf("Unable to open config file %s\n", filename); 
     391        fflush(stdout); 
    387392        return -1; 
    388393    } 
     
    417422    if (argc == MAX_ARGS && (i!=*app_argc || !feof(fhnd))) { 
    418423        printf("Too many arguments specified in cmd line/config file\n"); 
     424        fflush(stdout); 
    419425        fclose(fhnd); 
    420426        return -1; 
Note: See TracChangeset for help on using the changeset viewer.