Merge branch 'master' of github.com:ivan-83/FreeRDP
authorivan-83 <rozhuk.im@gmail.com>
Wed, 27 May 2015 16:02:54 +0000 (19:02 +0300)
committerivan-83 <rozhuk.im@gmail.com>
Wed, 27 May 2015 16:02:54 +0000 (19:02 +0300)
1  2 
CMakeLists.txt
libfreerdp/core/fastpath.c

diff --cc CMakeLists.txt
@@@ -727,14 -706,8 +727,13 @@@ if(BSD
                include_directories(/usr/local/include)
                link_directories(/usr/local/lib)
        endif()
 +      if(OPENBSD)
 +              if(IS_DIRECTORY /usr/X11R6/include)
 +                      include_directories(/usr/X11R6/include)
 +              endif()
 +      endif()
  endif()
  
  if(WITH_CHANNELS)
        add_subdirectory(channels)
  endif()
@@@ -425,7 -424,7 +425,11 @@@ static int fastpath_recv_update_data(rd
                if (fastpath->fragmentation != -1)
                {
                        WLog_ERR(TAG, "Unexpected FASTPATH_FRAGMENT_SINGLE");
++<<<<<<< HEAD
 +                      goto out_fail;
++=======
+                       return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                }
  
                totalSize = size;
  
                if (status < 0)
                {
++<<<<<<< HEAD
 +                      WLog_DBG(TAG, "fastpath_recv_update_data: fastpath_recv_update() - %i", status);
 +                      goto out_fail;
++=======
+                       WLog_DBG(TAG, "fastpath_recv_update() - %i", status);
+                       return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                }
        }
        else
                {
                        if (fastpath->fragmentation != -1)
                        {
++<<<<<<< HEAD
 +                              WLog_ERR(TAG, "fastpath_recv_update_data: Unexpected FASTPATH_FRAGMENT_FIRST");
 +                              goto out_fail;
++=======
+                               WLog_ERR(TAG, "Unexpected FASTPATH_FRAGMENT_FIRST");
+                               return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                        }
  
                        fastpath->fragmentation = FASTPATH_FRAGMENT_FIRST;
                        if ((fastpath->fragmentation != FASTPATH_FRAGMENT_FIRST) &&
                                        (fastpath->fragmentation != FASTPATH_FRAGMENT_NEXT))
                        {
++<<<<<<< HEAD
 +                              WLog_ERR(TAG, "fastpath_recv_update_data: Unexpected FASTPATH_FRAGMENT_NEXT");
 +                              goto out_fail;
++=======
+                               WLog_ERR(TAG, "Unexpected FASTPATH_FRAGMENT_NEXT");
+                               return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                        }
  
                        fastpath->fragmentation = FASTPATH_FRAGMENT_NEXT;
                        if ((fastpath->fragmentation != FASTPATH_FRAGMENT_FIRST) &&
                                        (fastpath->fragmentation != FASTPATH_FRAGMENT_NEXT))
                        {
++<<<<<<< HEAD
 +                              WLog_ERR(TAG, "fastpath_recv_update_data: Unexpected FASTPATH_FRAGMENT_LAST");
 +                              goto out_fail;
++=======
+                               WLog_ERR(TAG, "Unexpected FASTPATH_FRAGMENT_LAST");
+                               return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                        }
  
                        fastpath->fragmentation = -1;
  
                        if (status < 0)
                        {
++<<<<<<< HEAD
 +                              WLog_DBG(TAG, "fastpath_recv_update_data: fastpath_recv_update() - %i", status);
 +                              goto out_fail;
++=======
+                               WLog_DBG(TAG, "fastpath_recv_update() - %i", status);
+                               return -1;
++>>>>>>> d325a3cc4808284cd5db08b547cc40ce1472c117
                        }
                }
        }