diff options
-rw-r--r-- | dlfcn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ static int copy_string( char *dest, int dest_size, const char *src ) | |||
113 | int i = 0; | 113 | int i = 0; |
114 | 114 | ||
115 | /* gcc should optimize this out */ | 115 | /* gcc should optimize this out */ |
116 | if( !src && !dest ) | 116 | if( !src || !dest ) |
117 | return 0; | 117 | return 0; |
118 | 118 | ||
119 | for( i = 0 ; i < dest_size-1 ; i++ ) | 119 | for( i = 0 ; i < dest_size-1 ; i++ ) |