summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifLibBox.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-11-26 21:35:13 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2013-11-26 21:35:13 -0800
commita9eb8677fee8c32b9292b30c92cadb3882123800 (patch)
tree89fb31528b2cdf0b322a63ff3dcb746e332a4ee4 /src/map/if/ifLibBox.c
parent93bec213fc6d0403b9b88c0578fcfcdbac858960 (diff)
downloadabc-a9eb8677fee8c32b9292b30c92cadb3882123800.tar.gz
abc-a9eb8677fee8c32b9292b30c92cadb3882123800.tar.bz2
abc-a9eb8677fee8c32b9292b30c92cadb3882123800.zip
Explanation for one assetion.
Diffstat (limited to 'src/map/if/ifLibBox.c')
-rw-r--r--src/map/if/ifLibBox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/if/ifLibBox.c b/src/map/if/ifLibBox.c
index f7e2f8fe..799d2aed 100644
--- a/src/map/if/ifLibBox.c
+++ b/src/map/if/ifLibBox.c
@@ -222,7 +222,7 @@ If_LibBox_t * If_LibBoxRead2( char * pFileName )
while ( pToken == NULL )
{
if ( fgets( pBuffer, nSize, pFile ) == NULL )
- assert( 0 );
+ { printf( "The table does not have enough entries.\n" ); fflush(stdout); assert( 0 ); }
pToken = strtok( pBuffer, " \n\r\t" );
}
pBox->pDelays[i] = (pToken[0] == '-') ? -1 : atoi(pToken);