/* file_appender - a dumb log appender which simply prints to a file */
-/* Copyright (c) 2007-2018. The SimGrid Team.
+/* Copyright (c) 2007-2019. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
xbt_assert(arg);
char* buf=xbt_strdup(arg);
char* sep=strchr(buf,':');
- xbt_assert(sep>0);
+ xbt_assert(sep != NULL);
data->filename=xbt_strdup(sep+1);
*sep='\0';
char *endptr;