diff options
author | Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> | 2014-08-29 12:48:00 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-08 00:40:51 +0200 |
commit | a5cf73b1b1967d105127ce2232ef3cdcc358185a (patch) | |
tree | 0217de339affcc62c67761a6d5e8968d6e53f22b | |
parent | 59cec50b2d9d3c5617fedcdd1a1a3b2ef72bcb27 (diff) | |
download | neardal-a5cf73b1b1967d105127ce2232ef3cdcc358185a.tar.gz neardal-a5cf73b1b1967d105127ce2232ef3cdcc358185a.tar.bz2 neardal-a5cf73b1b1967d105127ce2232ef3cdcc358185a.zip |
Minor fix.
-rw-r--r-- | ncl/ncl.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -270,11 +270,8 @@ static void ncl_prv_parse_script_file(char *scriptFileStr) NCL_CMD_PRINT("$$$$$$$$$$$$$$$$$$$$$$$$$'\n"); gNclCtx.errOnExit = ncl_exec(cmdLineStr); - /* Main loop */ - do { - g_main_context_iteration(NULL, false); - } while (g_main_context_pending(NULL)); - } + while (g_main_context_pending(NULL)) + g_main_context_iteration(NULL, FALSE); } /* Freeing command line */ if (cmdLineStr != NULL) { |