]> git.pld-linux.org Git - packages/openslp.git/commitdiff
- fix for new bug
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Feb 2004 20:23:27 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openslp-fix.patch -> 1.1

openslp-fix.patch [new file with mode: 0644]

diff --git a/openslp-fix.patch b/openslp-fix.patch
new file mode 100644 (file)
index 0000000..cc269af
--- /dev/null
@@ -0,0 +1,14 @@
+--- openslp-1.2.0/common/slp_spi.c.orig        2002-09-10 06:38:25.000000000 +0200
++++ openslp-1.2.0/common/slp_spi.c     2004-02-29 21:19:03.916339688 +0100
+@@ -267,9 +267,9 @@
+     fp = fopen(spifile,"r");
+     if(fp)
+     {
+-        result = xmalloc(sizeof(structSLPSpiHandle));
++        result = xmalloc(sizeof(struct _SLPSpiHandle));
+         if(result == 0) return 0;
+-        memset(result, 0, sizeof(structSLPSpiHandle));
++        memset(result, 0, sizeof(struct _SLPSpiHandle));
+         
+         result->spifile = xstrdup(spifile);
+         result->cacheprivate = cacheprivate;
This page took 0.107192 seconds and 4 git commands to generate.