Changeset 3852 for pjproject


Ignore:
Timestamp:
Oct 25, 2011 11:12:33 AM (13 years ago)
Author:
bennylp
Message:

Misc (re #1393): crash in vid win command without argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3851 r3852  
    40764076            size.h = atoi(argv[5]); 
    40774077            status = pjsua_vid_win_set_size(wid, &size); 
    4078         } else if (strcmp(argv[2], "arrange")==0) { 
     4078        } else if (argc==3 && strcmp(argv[2], "arrange")==0) { 
    40794079            arrange_window(PJSUA_INVALID_ID); 
    40804080        } else 
Note: See TracChangeset for help on using the changeset viewer.