opnsense-ports/graphics/stamp/files/patch-lib_rcfile.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
409 B
C

--- lib/rcfile.c.orig Fri Dec 24 15:02:25 1999
+++ lib/rcfile.c Fri Dec 24 15:06:09 1999
@@ -101,8 +101,8 @@
exit(ERR_NOLFONT) ;
}
- if ((!(strcmp(Args->Infile,""))) ||
- (!(strcmp(Args->Outfile,"")))) {
+ if ((Args->Infile == NULL) ||
+ (Args->Outfile == NULL)) {
fprintf(stderr, "stamp: You must specify both an input and output JPEG image.\n") ;
exit(ERR_MISSIOFILE) ;
}