idk why is this merge important tbh
Merge branch 'master' of gitlab.com:call-cc/k9core
This commit is contained in:
commit
976d1ed2bf
|
@ -2,9 +2,10 @@
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[]) {
|
main(int argc, char *argv[])
|
||||||
char *dir;
|
{
|
||||||
if((dir = dirname(argv[1])) == NULL) {
|
char *dir = dirname(argv[1]);
|
||||||
|
if(dir == NULL) {
|
||||||
fprintf(stderr, "%s", argv[0]);
|
fprintf(stderr, "%s", argv[0]);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue