Changeset 383 for trunk/src/slib.c
- Timestamp:
- Dec 5, 2011, 10:30:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/slib.c
r371 r383 931 931 else if (src == NULL) 932 932 { 933 if ( siz > 0)933 if (dst && siz > 0) 934 934 dst[0] = '\0'; 935 935 return SL_ENONE; … … 2835 2835 */ 2836 2836 bytecount = 0; 2837 bytewritten = 0; 2837 2838 2838 while (bytecount < nbytes) 2839 2839 { 2840 if ((bytewritten = write (fd, msg, nbytes-bytecount)) > 0) 2840 bytewritten = write (fd, msg, nbytes-bytecount); 2841 2842 if (bytewritten > 0) 2841 2843 { 2842 2844 bytecount += bytewritten;
Note:
See TracChangeset
for help on using the changeset viewer.