commenting out some printfs r=ramiro

This commit is contained in:
pavlov%netscape.com 2000-11-07 08:29:59 +00:00
Родитель bac3c79938
Коммит a30aea6b50
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -97,14 +97,15 @@ DataStruct::SetData ( nsISupports* aData, PRUint32 aDataLen )
if (aDataLen > LARGE_DATASET_SIZE) { if (aDataLen > LARGE_DATASET_SIZE) {
// if so, cache it to disk instead of memory // if so, cache it to disk instead of memory
if ( NS_SUCCEEDED(WriteCache(aData, aDataLen)) ) { if ( NS_SUCCEEDED(WriteCache(aData, aDataLen)) ) {
printf("->>>>>>>>>>>>>> Wrote Clipboard to cache file\n"); // printf("->>>>>>>>>>>>>> Wrote Clipboard to cache file\n");
return; return;
} }
/*
else else
printf("->>>>>>>>>>>>>> Writing Clipboard to cache file FAILED\n"); printf("->>>>>>>>>>>>>> Writing Clipboard to cache file FAILED\n");
*/
} else { } else {
printf("->>>>>>>>>>>>>> Write Clipboard to memory\n"); // printf("->>>>>>>>>>>>>> Write Clipboard to memory\n");
} }
mData = aData; mData = aData;
@ -121,7 +122,7 @@ DataStruct::GetData ( nsISupports** aData, PRUint32 *aDataLen )
// if so, read it in and pass it back // if so, read it in and pass it back
// ReadCache creates memory and copies the data into it. // ReadCache creates memory and copies the data into it.
if ( NS_SUCCEEDED(ReadCache(aData, aDataLen)) ) { if ( NS_SUCCEEDED(ReadCache(aData, aDataLen)) ) {
printf("->>>>>>>>>>>>>> Read Clipboard from cache file\n"); // printf("->>>>>>>>>>>>>> Read Clipboard from cache file\n");
return; return;
} }
else { else {
@ -132,7 +133,7 @@ DataStruct::GetData ( nsISupports** aData, PRUint32 *aDataLen )
return; return;
} }
} else { } else {
printf("->>>>>>>>>>>>>> Read Clipboard from memory\n"); // printf("->>>>>>>>>>>>>> Read Clipboard from memory\n");
} }
*aData = mData; *aData = mData;