aboutsummaryrefslogtreecommitdiff
path: root/print/hplip3/files/patch-api_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip3/files/patch-api_model.c')
-rw-r--r--print/hplip3/files/patch-api_model.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip3/files/patch-api_model.c b/print/hplip3/files/patch-api_model.c
new file mode 100644
index 000000000000..c9ddf37a9cfe
--- /dev/null
+++ b/print/hplip3/files/patch-api_model.c
@@ -0,0 +1,11 @@
+--- api/model.c.orig 2006-10-18 20:58:33.000000000 +0200
++++ api/model.c 2007-01-19 15:58:49.000000000 +0100
+@@ -269,7 +269,7 @@ static int DelList()
+ /* Parse *.inc file. */
+ static int ParseInc(char *incFile)
+ {
+- FILE *fp;
++ FILE *fp = NULL;
+ struct list_head *p;
+ LabelRecord *pl;
+ char rcbuf[255];