Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
8c04612fd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/ipc/ipc_nspr_traits.h

+ 1 - 1
panda/src/ipc/ipc_nspr_traits.h

@@ -236,7 +236,7 @@ public:
 
            char* temp = new char[numBytes];
            int numRead = PR_Read(_fhandle, temp, numBytes);
-           if(numRead<=0) {
+           if(numRead < 0) {
                 cerr << "PR_Read() in libnspr failed!\n";
                 delete temp;
                 return 0;