Changeset 1023 in vbox
- Timestamp:
- Feb 22, 2007 10:14:29 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18880
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bootp.c
r1020 r1023 221 221 222 222 if (bootp_filename) 223 #ifndef VBOX 223 224 snprintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename); 225 #else 226 RTStrPrintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename); 227 #endif 224 228 225 229 #ifdef VBOX -
trunk/src/VBox/Devices/Network/slirp/slirp.h
r817 r1023 37 37 # include <io.h> 38 38 # endif 39 # include <iprt/string.h> 39 40 # include <VBox/types.h> 40 41 -
trunk/src/VBox/Devices/Network/slirp/tftp.c
r1016 r1023 106 106 int n; 107 107 108 #ifndef VBOX 108 109 n = snprintf(buffer, sizeof(buffer), "%s/%s", 109 110 tftp_prefix, spt->filename); 111 #else 112 n = RTStrPrintf(buffer, sizeof(buffer), "%s/%s", 113 tftp_prefix, spt->filename); 114 #endif 110 115 if (n >= sizeof(buffer)) 111 116 return -1; … … 382 387 int len; 383 388 389 #ifndef VBOX 384 390 len = snprintf(buffer, sizeof(buffer), "%s/%s", 385 391 tftp_prefix, spt->filename); 392 #else 393 len = RTStrPrintf(buffer, sizeof(buffer), "%s/%s", 394 tftp_prefix, spt->filename); 395 #endif 386 396 387 397 if (stat(buffer, &stat_p) == 0)
Note:
See TracChangeset
for help on using the changeset viewer.