Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
25f7288f
Kaydet (Commit)
25f7288f
authored
Şub 19, 2013
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix crashes in sdremote after suspend/resume cycles.
Change-Id: I0f64820887919386f266290ae8b7c53f8a0a5458
üst
4c7d04c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
BufferedStreamSocket.cxx
sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+3
-3
Receiver.cxx
sd/source/ui/remotecontrol/Receiver.cxx
+2
-1
No files found.
sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
Dosyayı görüntüle @
25f7288f
...
...
@@ -77,7 +77,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine )
// Process buffer first incase data already present.
vector
<
char
>::
iterator
aIt
;
if
(
(
aIt
=
find
(
aBuffer
.
begin
(),
aBuffer
.
end
(),
'\n'
))
!=
aBuffer
.
end
()
)
!=
aBuffer
.
end
()
)
{
sal_uInt64
aLocation
=
aIt
-
aBuffer
.
begin
();
...
...
@@ -96,9 +96,9 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine )
else
aRet
=
::
recv
(
mSocket
,
&
aBuffer
[
aRead
],
100
,
0
);
if
(
aRet
=
=
0
)
if
(
aRet
<
=
0
)
{
return
aRet
;
return
0
;
}
// Prevent buffer from growing massively large.
if
(
aRead
>
MAX_LINE_LENGTH
)
...
...
sd/source/ui/remotecontrol/Receiver.cxx
Dosyayı görüntüle @
25f7288f
...
...
@@ -52,7 +52,8 @@ void Receiver::Timeout()
{
std
::
vector
<
rtl
::
OString
>
aCommands
(
maExecQueue
.
front
()
);
maExecQueue
.
pop_front
();
executeCommand
(
aCommands
);
if
(
!
aCommands
.
empty
()
)
executeCommand
(
aCommands
);
Start
();
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment