Changeset 4885:01d694a7fdf7 in roaraudio for roarclients/roar-config.c
- Timestamp:
- 04/28/11 17:28:25 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roar-config.c
r4725 r4885 68 68 } 69 69 70 #define _strcat(buf, n) strncat(buf, n, sizeof(buf)-1-strlen(buf)) 71 70 72 int main (int argc, char * argv[]) { 71 73 enum { NORMAL, PC } mode = NORMAL; … … 121 123 if ( cflags || libs ) { 122 124 if ( cflags ) 123 strcat(buf, flags_ptr->cflags);125 _strcat(buf, flags_ptr->cflags); 124 126 125 127 if ( libs ) 126 strcat(buf, flags_ptr->libs);128 _strcat(buf, flags_ptr->libs); 127 129 128 130 puts(buf);
Note: See TracChangeset
for help on using the changeset viewer.