Mercurial > trustbridge
annotate common/errorcodes.h @ 61:b8cd573bd3ac
Fix check for malloc result, found by cppcheck.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 18 Mar 2014 14:05:17 +0100 |
parents | 6acb1dae6185 |
children | fb9f78f7ab2f |
rev | line source |
---|---|
60
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
1 #ifndef ERRORCODES_H |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
2 #define ERRORCODES_H |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
3 |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
4 /* No begin certificate / end certificate could be found */ |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
5 #define ERR_INVALID_INPUT_NO_LIST 2 |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
6 /* Too much input for the installer process */ |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
7 #define ERR_TOO_MUCH_INPUT 3 |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
8 |
6acb1dae6185
Use strn functions and improve error handling.
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
9 #endif |