X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e66a87c2e4298d9aef725f67d69eec2728f4aeca..af65faa449b38729c5419a84426def9228083b8c:/src/xbt/xbt_str.c?ds=sidebyside diff --git a/src/xbt/xbt_str.c b/src/xbt/xbt_str.c index 973ac6a47b..aa61389215 100644 --- a/src/xbt/xbt_str.c +++ b/src/xbt/xbt_str.c @@ -60,7 +60,7 @@ xbt_str_rtrim(char* s, const char* char_list) while(*cur) ++cur; - while(white_char[(unsigned char)*cur] && (cur >= s)) + while((cur >= s) && white_char[(unsigned char)*cur]) --cur; *++cur = '\0';