One package less failing in science. OBS-URL: https://build.opensuse.org/request/show/726471 OBS-URL: https://build.opensuse.org/package/show/science/xtandem?expand=0&rev=18
25 lines
857 B
Diff
25 lines
857 B
Diff
diff --git a/src/tandem.cpp b/src/tandem.cpp
|
|
index 520ed41..7c85322 100644
|
|
--- a/src/tandem.cpp
|
|
+++ b/src/tandem.cpp
|
|
@@ -217,8 +217,8 @@ int main(int argc, char* argv[])
|
|
unsigned long a = 0;
|
|
while(a < lMaxThreads) {
|
|
pProcess[a] = NULL;
|
|
- pHandle[a] = NULL;
|
|
- pId[a] = NULL;
|
|
+ pHandle[a] = 0;
|
|
+ pId[a] = 0;
|
|
a++;
|
|
}
|
|
pProcess[0] = new mprocess;
|
|
@@ -230,7 +230,7 @@ int main(int argc, char* argv[])
|
|
char *pS = new char[1024];
|
|
strcpy(pS,argv[1]);
|
|
if(!pProcess[0]->load(pS)) {
|
|
- cout << "\n\nAn error was detected while loading the input parameters.\nPlease follow the advice above or contact a GPM administrator to help you.";
|
|
+ cout << "\n\nAn error was detected while loading the input parameters.\nPlease follow the advice above or contact a GPM administrator to help you.\n";
|
|
delete pProcess[0];
|
|
delete pProcess;
|
|
return -4;
|